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

Unified Diff: third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h

Issue 2845963002: [ServiceWorker] Add type attribute into Client object (Closed)
Patch Set: Address comments from foolip@ Created 3 years, 8 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/Source/modules/serviceworkers/ServiceWorkerClient.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
index bb5a3515ad26553fce148037e9eee6188f02dd89..22e7129b07f5aaaf321ba6868dcb3cf87c6d7e6e 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClient.h
@@ -36,6 +36,7 @@ class MODULES_EXPORT ServiceWorkerClient
// Client.idl
String url() const { return url_; }
+ String type() const;
String frameType() const;
String id() const { return uuid_; }
void postMessage(ScriptState*,
@@ -55,6 +56,7 @@ class MODULES_EXPORT ServiceWorkerClient
private:
String uuid_;
String url_;
+ WebServiceWorkerClientType type_;
WebURLRequest::FrameType frame_type_;
};

Powered by Google App Engine
This is Rietveld 408576698