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

Unified Diff: public/platform/WebServiceWorkerProviderClient.h

Issue 301103003: Rename navigator.serviceWorker.current to controller. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Bring rebaselines to head. Created 6 years, 7 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
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebServiceWorkerProviderClient.h
diff --git a/public/platform/WebServiceWorkerProviderClient.h b/public/platform/WebServiceWorkerProviderClient.h
index 8c3eba3f59336040c081b84f8b64b300880aa6dc..5fe61e24ca7feac32bd439b09890d568c69a3ad8 100644
--- a/public/platform/WebServiceWorkerProviderClient.h
+++ b/public/platform/WebServiceWorkerProviderClient.h
@@ -44,6 +44,9 @@ public:
virtual ~WebServiceWorkerProviderClient() { }
// The callee will take ownership of the given WebServiceWorker object.
+ virtual void setController(WebServiceWorker*) = 0;
+
+ // FIXME: Remove when the embedder switches to setController.
virtual void setCurrentServiceWorker(WebServiceWorker*) = 0;
virtual void dispatchMessageEvent(const WebString& message, const WebMessagePortChannelArray&) = 0;
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerContainer.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698