Index: Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h |
diff --git a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h |
index ddff85e814fbb5705f3f2fd24a83b6639eb3620e..0aa75db178c55e372c4c7b3eaf2c41f461c547f8 100644 |
--- a/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h |
+++ b/Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h |
@@ -76,11 +76,13 @@ public: |
virtual void didHandlePushEvent(int pushEventID, WebServiceWorkerEventResult) = 0; |
virtual void didHandleSyncEvent(int syncEventID) = 0; |
virtual void didHandleCrossOriginConnectEvent(int connectEventID, bool acceptConnect) = 0; |
- virtual void postMessageToClient(int clientID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray>) = 0; |
+ virtual void postMessageToClient(int clientID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray>) = 0; // FIXME: Deprecate this once we switch to uuid. |
+ virtual void postMessageToClient(const WebString& clientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray>) = 0; |
virtual void postMessageToCrossOriginClient(const WebCrossOriginServiceWorkerClient&, const WebString& message, PassOwnPtr<WebMessagePortChannelArray>) = 0; |
virtual void skipWaiting(WebServiceWorkerSkipWaitingCallbacks*) = 0; |
virtual void claim(WebServiceWorkerClientsClaimCallbacks*) = 0; |
- virtual void focus(int clientID, WebServiceWorkerClientCallbacks*) = 0; |
+ virtual void focus(int clientID, WebServiceWorkerClientCallbacks*) = 0; // FIXME: Deprecate this once we switch to uuid. |
+ virtual void focus(const WebString& clientUUID, WebServiceWorkerClientCallbacks*) = 0; |
static const char* supplementName(); |
static ServiceWorkerGlobalScopeClient* from(ExecutionContext*); |