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

Unified Diff: public/platform/WebServiceWorkerRequest.h

Issue 587213003: [ServiceWorker] Plumbing the request mode from the renderer to the ServiceWorker. [1/2 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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: public/platform/WebServiceWorkerRequest.h
diff --git a/public/platform/WebServiceWorkerRequest.h b/public/platform/WebServiceWorkerRequest.h
index ed46a205f6518bc687550c552c42bd8f49a780a1..85f0d84accb1ef7710c4e4a9df49ec10244438d9 100644
--- a/public/platform/WebServiceWorkerRequest.h
+++ b/public/platform/WebServiceWorkerRequest.h
@@ -10,6 +10,7 @@
#include "public/platform/WebReferrerPolicy.h"
#include "public/platform/WebString.h"
#include "public/platform/WebURL.h"
+#include "public/platform/WebURLRequest.h"
#if INSIDE_BLINK
#include "platform/network/HTTPHeaderMap.h"
@@ -60,6 +61,9 @@ public:
WebURL referrerUrl() const;
WebReferrerPolicy referrerPolicy() const;
+ void setMode(WebURLRequest::ServiceWorkerRequestMode);
+ WebURLRequest::ServiceWorkerRequestMode mode() const;
+
void setIsReload(bool);
bool isReload() const;

Powered by Google App Engine
This is Rietveld 408576698