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

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

Issue 1439333002: Service Worker: Add Clients.get(id) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary condition Created 4 years, 10 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/ServiceWorkerClients.h
diff --git a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h
index 111a711b3ecafdef630dc4ef58cced87bdecd918..b55fb53a0f619931029c0a1c4f4afc88dbe8f666 100644
--- a/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h
+++ b/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerClients.h
@@ -21,6 +21,7 @@ public:
static ServiceWorkerClients* create();
// Clients.idl
+ ScriptPromise get(ScriptState*, const String& id);
ScriptPromise matchAll(ScriptState*, const ClientQueryOptions&);
ScriptPromise openWindow(ScriptState*, const String& url);
ScriptPromise claim(ScriptState*);

Powered by Google App Engine
This is Rietveld 408576698