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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_devtools_info.cc
diff --git a/content/public/common/resource_devtools_info.cc b/content/public/common/resource_devtools_info.cc
index 657ac3af23f5d33f12a5b1ed80d8273ae6abcf0a..93ea6d14567a5df072813b187b0135818a3c637d 100644
--- a/content/public/common/resource_devtools_info.cc
+++ b/content/public/common/resource_devtools_info.cc
@@ -13,4 +13,15 @@ ResourceDevToolsInfo::ResourceDevToolsInfo()
ResourceDevToolsInfo::~ResourceDevToolsInfo() {
}
+scoped_refptr<ResourceDevToolsInfo> ResourceDevToolsInfo::DeepCopy() const {
+ scoped_refptr<ResourceDevToolsInfo> new_info = new ResourceDevToolsInfo;
+ new_info->http_status_code = http_status_code;
+ new_info->http_status_text = http_status_text;
+ new_info->request_headers = request_headers;
+ new_info->response_headers = response_headers;
+ new_info->request_headers_text = request_headers_text;
+ new_info->response_headers_text = response_headers_text;
+ return new_info;
+}
+
} // namespace content
« 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