Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: content/public/common/resource_devtools_info.cc

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/resource_devtools_info.h" 5 #include "content/public/common/resource_devtools_info.h"
6 6
7 namespace content { 7 namespace content {
8 8
9 ResourceDevToolsInfo::ResourceDevToolsInfo() 9 ResourceDevToolsInfo::ResourceDevToolsInfo()
10 : http_status_code(0) { 10 : http_status_code(0) {
11 } 11 }
12 12
13 ResourceDevToolsInfo::~ResourceDevToolsInfo() { 13 ResourceDevToolsInfo::~ResourceDevToolsInfo() {
14 } 14 }
15 15
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;
25 }
26
16 } // namespace content 27 } // namespace content
OLDNEW
« no previous file with comments | « content/public/common/resource_devtools_info.h ('k') | content/public/common/resource_response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698