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

Unified Diff: public/platform/WebServiceWorkerProviderClient.h

Issue 335293003: Add slots for navigator.serviceWorker.installing and active. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« 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 2b59fb1f3d6bd8227750a38b8cede63dc6cb2399..f84ae607ea5594cdf9d5950668c218eca7451bef 100644
--- a/public/platform/WebServiceWorkerProviderClient.h
+++ b/public/platform/WebServiceWorkerProviderClient.h
@@ -37,17 +37,16 @@ namespace blink {
class WebServiceWorker;
class WebString;
-// This class provides interface for embedders to talk to
+// This class is the interface for embedders to talk to
// ServiceWorkerContainer.
class WebServiceWorkerProviderClient {
public:
virtual ~WebServiceWorkerProviderClient() { }
- virtual void setWaiting(WebServiceWorker*) = 0;
+ virtual void setActive(WebServiceWorker*) = 0;
virtual void setController(WebServiceWorker*) = 0;
-
- // FIXME: Remove when the embedder switches to setController.
- virtual void setCurrentServiceWorker(WebServiceWorker*) = 0;
+ virtual void setInstalling(WebServiceWorker*) = 0;
+ virtual void setWaiting(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