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

Unified Diff: third_party/WebKit/public/platform/WebURLResponse.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
Index: third_party/WebKit/public/platform/WebURLResponse.h
diff --git a/third_party/WebKit/public/platform/WebURLResponse.h b/third_party/WebKit/public/platform/WebURLResponse.h
index d44a28e1bc9605f3a68ff48eb1351f226567b1a8..ca7f9960eb6e6a243fc5b7e5dbf6b497a5b13d00 100644
--- a/third_party/WebKit/public/platform/WebURLResponse.h
+++ b/third_party/WebKit/public/platform/WebURLResponse.h
@@ -231,6 +231,10 @@ public:
BLINK_PLATFORM_EXPORT bool wasFetchedViaServiceWorker() const;
BLINK_PLATFORM_EXPORT void setWasFetchedViaServiceWorker(bool);
+ // Flag whether this request was loaded using a foreign fetch service worker.
+ BLINK_PLATFORM_EXPORT bool wasFetchedViaForeignFetch() const;
+ BLINK_PLATFORM_EXPORT void setWasFetchedViaForeignFetch(bool);
+
// Flag whether the fallback request with skip service worker flag was
// required.
BLINK_PLATFORM_EXPORT bool wasFallbackRequiredByServiceWorker() const;
« no previous file with comments | « third_party/WebKit/Source/platform/network/ResourceResponse.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698