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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerContainer.h

Issue 1165363003: Service Worker: Add ServiceWorkerContainer.getRegistrations() method. (Blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add method getRegistrations to global-interface-listing-expected.txt files. Created 5 years, 6 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: Source/modules/serviceworkers/ServiceWorkerContainer.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerContainer.h b/Source/modules/serviceworkers/ServiceWorkerContainer.h
index 484dc1f21f849f2ce65e0eb366ce8cfab07e9d24..57f78ff4bec1ed6c73578802acf4bdeabc0a0701 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -74,6 +74,7 @@ public:
ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, const RegistrationOptions&);
ScriptPromise getRegistration(ScriptState*, const String& documentURL);
+ ScriptPromise getRegistrations(ScriptState*);
// WebServiceWorkerProviderClient overrides.
virtual void setController(WebServiceWorker*, bool shouldNotifyControllerChange) override;
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/serviceworkers/ServiceWorkerContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698