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

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

Issue 362123003: ServiceWorker: unregister's scope argument should be optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reformated test Created 6 years, 5 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 d3160a0dc2c5dcb2ad9c813ce570c906dbde07f1..fe3c3eabb508351b347a0cc577d3e964a08bebbf 100644
--- a/Source/modules/serviceworkers/ServiceWorkerContainer.h
+++ b/Source/modules/serviceworkers/ServiceWorkerContainer.h
@@ -73,7 +73,7 @@ public:
blink::WebServiceWorkerProvider* provider() { return m_provider; }
ScriptPromise registerServiceWorker(ScriptState*, const String& pattern, const Dictionary&);
- ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope = String());
+ ScriptPromise unregisterServiceWorker(ScriptState*, const String& scope);
// WebServiceWorkerProviderClient overrides.
virtual void setActive(blink::WebServiceWorker*) OVERRIDE;
« no previous file with comments | « LayoutTests/http/tests/serviceworker/unregister.html ('k') | Source/modules/serviceworkers/ServiceWorkerContainer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698