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

Unified Diff: public/platform/WebServiceWorkerRequest.h

Issue 625513002: [ServiceWorker] pipe RequestContext and FrameType to 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 f47c73153e8b723e1e273737b64cfe56bae87667..77f2238657cb1779bf2ee259368b87a20077d330 100644
--- a/public/platform/WebServiceWorkerRequest.h
+++ b/public/platform/WebServiceWorkerRequest.h
@@ -64,6 +64,12 @@ public:
void setMode(WebURLRequest::FetchRequestMode);
WebURLRequest::FetchRequestMode mode() const;
+ void setRequestContext(WebURLRequest::RequestContext);
+ WebURLRequest::RequestContext requestContext() const;
+
+ void setFrameType(WebURLRequest::FrameType);
+ WebURLRequest::FrameType frameType() const;
+
void setIsReload(bool);
bool isReload() const;

Powered by Google App Engine
This is Rietveld 408576698