Add window.gc back to Smoothness.WillNavigateToPageHook
[chromium-blink-merge.git] / content / public / common / resource_devtools_info.cc
blob93ea6d14567a5df072813b187b0135818a3c637d
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"
7 namespace content {
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;
24 return new_info;
27 } // namespace content