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

Unified Diff: public/platform/WebURLRequest.h

Issue 527703002: [ServiceWorker] Introduce skipServiceWorker flag to blink::WebURLRequest and blink::ResourceRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 | « Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebURLRequest.h
diff --git a/public/platform/WebURLRequest.h b/public/platform/WebURLRequest.h
index 13de1bb8fa50b9af770939ade0e9db0128a4333b..a140421ddec0141e3a800d64c47987aa00fac1b7 100644
--- a/public/platform/WebURLRequest.h
+++ b/public/platform/WebURLRequest.h
@@ -211,6 +211,10 @@ public:
BLINK_PLATFORM_EXPORT bool downloadToFile() const;
BLINK_PLATFORM_EXPORT void setDownloadToFile(bool);
+ // True if the request should not be handled by the ServiceWorker.
+ BLINK_PLATFORM_EXPORT bool skipServiceWorker() const;
+ BLINK_PLATFORM_EXPORT void setSkipServiceWorker(bool);
+
// Extra data associated with the underlying resource request. Resource
// requests can be copied. If non-null, each copy of a resource requests
// holds a pointer to the extra data, and the extra data pointer will be
« no previous file with comments | « Source/platform/network/ResourceRequest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698