1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "content/public/common/resource_devtools_info.h"
9 ResourceDevToolsInfo::ResourceDevToolsInfo()
10 : http_status_code(0) {
13 ResourceDevToolsInfo::~ResourceDevToolsInfo() {
16 scoped_refptr
<ResourceDevToolsInfo
> ResourceDevToolsInfo::DeepCopy() const {
17 scoped_refptr
<ResourceDevToolsInfo
> new_info
= new ResourceDevToolsInfo
;
18 new_info
->http_status_code
= http_status_code
;
19 new_info
->http_status_text
= http_status_text
;
20 new_info
->request_headers
= request_headers
;
21 new_info
->response_headers
= response_headers
;
22 new_info
->request_headers_text
= request_headers_text
;
23 new_info
->response_headers_text
= response_headers_text
;
27 } // namespace content