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

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

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/public/common/resource_response.cc ('k') | content/public/common/resource_response_info.cc » ('j') | 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 a117de8ca637688493fe4b58960078c0d1f75a72..b0008adadc88fb1b2403171f0c15a776d722c179 100644
--- a/content/public/common/resource_response_info.h
+++ b/content/public/common/resource_response_info.h
@@ -118,6 +118,9 @@ struct CONTENT_EXPORT ResourceResponseInfo {
// True if the response was fetched by a ServiceWorker.
bool was_fetched_via_service_worker;
+ // True if the response was fetched by a foreign fetch ServiceWorker;
+ bool was_fetched_via_foreign_fetch;
+
// True when the request whoes mode is |CORS| or |CORS-with-forced-preflight|
// is sent to a ServiceWorker but FetchEvent.respondWith is not called. So the
// renderer have to resend the request with skip service worker flag
« no previous file with comments | « content/public/common/resource_response.cc ('k') | content/public/common/resource_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698