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

Unified Diff: content/public/common/resource_response.cc

Issue 2235543002: Keep track of how many documents had a resource intercepted by foreign fetch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/child/web_url_loader_impl.cc ('k') | content/public/common/resource_response_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response.cc
diff --git a/content/public/common/resource_response.cc b/content/public/common/resource_response.cc
index 0b9457477f0d98d7a452e25c9ae66d2e0cfbaded..21e769e25735f93afb4c648035d7eea78ccf1619 100644
--- a/content/public/common/resource_response.cc
+++ b/content/public/common/resource_response.cc
@@ -42,6 +42,8 @@ scoped_refptr<ResourceResponse> ResourceResponse::DeepCopy() const {
new_response->head.socket_address = head.socket_address;
new_response->head.was_fetched_via_service_worker =
head.was_fetched_via_service_worker;
+ new_response->head.was_fetched_via_foreign_fetch =
+ head.was_fetched_via_foreign_fetch;
new_response->head.was_fallback_required_by_service_worker =
head.was_fallback_required_by_service_worker;
new_response->head.original_url_via_service_worker =
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/public/common/resource_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698