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

Unified Diff: third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h

Issue 1597383002: Service Worker: (Re-commit) Add FetchEvent.clientId (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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/modules/serviceworker/WebServiceWorkerRequest.h
diff --git a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h
index cd2caa70a00f00fb8aad696be9df7149b994b494..4a7263dec1c05e4f69a915966ef62dc913279bee 100644
--- a/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h
+++ b/third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerRequest.h
@@ -64,6 +64,9 @@ public:
void setMode(WebURLRequest::FetchRequestMode);
WebURLRequest::FetchRequestMode mode() const;
+ void setIsMainResourceLoad(bool);
+ bool isMainResourceLoad() const;
+
void setCredentialsMode(WebURLRequest::FetchCredentialsMode);
WebURLRequest::FetchCredentialsMode credentialsMode() const;
@@ -76,6 +79,9 @@ public:
void setFrameType(WebURLRequest::FrameType);
WebURLRequest::FrameType frameType() const;
+ void setClientId(const WebString&);
+ WebString clientId() const;
+
void setIsReload(bool);
bool isReload() const;

Powered by Google App Engine
This is Rietveld 408576698