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

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

Issue 1143293003: Service Worker: Add ServiceWorkerContainer.getRegistrations() method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unused param in claim-not-using-registration.html 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 8ec0ccbeec24e1736023f1511a4b8674b9fc8b63..7e82ab2385d56c026b2ce5069e696b69a7df1035 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/http/tests/serviceworker/getregistrations.html ('k') | Source/modules/serviceworkers/ServiceWorkerContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698