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

Unified Diff: content/public/common/resource_response_info.h

Issue 2871303002: Add missing fields to ResourceResponse::DeepCopy (Closed)
Patch Set: add another note about updating DeepCopy Created 3 years, 7 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_response.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response_info.h
diff --git a/content/public/common/resource_response_info.h b/content/public/common/resource_response_info.h
index 1a09c1695851df79f57ef0783334338598a90d47..b7283dbdfd74b464351f3e3b5e6d396f85c27ef6 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -26,7 +26,7 @@
namespace content {
-// Note: when modifying this structure, also update ResourceResponse::DeepCopy
+// NOTE: when modifying this structure, also update ResourceResponse::DeepCopy
// in resource_response.cc.
struct CONTENT_EXPORT ResourceResponseInfo {
ResourceResponseInfo();
@@ -182,6 +182,9 @@ struct CONTENT_EXPORT ResourceResponseInfo {
// True if service worker navigation preload was performed due to the request
// for this response.
bool did_service_worker_navigation_preload;
+
+ // NOTE: When adding or changing fields here, also update
+ // ResourceResponse::DeepCopy in resource_response.cc.
};
} // namespace content
« no previous file with comments | « content/public/common/resource_response.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698