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

Unified Diff: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp

Issue 990583002: Use UUID for ServiceWorker Client identifier (1/3, blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/WebServiceWorkerClientsInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
diff --git a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
index 83d1ed703b91d0ec061ae8d4e7b248b80c0a2fe8..65f553358ed01628f9d6d53de1544abfaea7fe64 100644
--- a/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
+++ b/Source/web/ServiceWorkerGlobalScopeClientImpl.cpp
@@ -123,6 +123,11 @@ void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(int clientID, const
m_client.postMessageToClient(clientID, message, webChannels.leakPtr());
}
+void ServiceWorkerGlobalScopeClientImpl::postMessageToClient(const WebString& clientUUID, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webChannels)
+{
+ m_client.postMessageToClient(clientUUID, message, webChannels.leakPtr());
+}
+
void ServiceWorkerGlobalScopeClientImpl::postMessageToCrossOriginClient(const WebCrossOriginServiceWorkerClient& client, const WebString& message, PassOwnPtr<WebMessagePortChannelArray> webChannels)
{
m_client.postMessageToCrossOriginClient(client, message, webChannels.leakPtr());
@@ -143,6 +148,11 @@ void ServiceWorkerGlobalScopeClientImpl::focus(int clientID, WebServiceWorkerCli
m_client.focus(clientID, callback);
}
+void ServiceWorkerGlobalScopeClientImpl::focus(const WebString& clientUUID, WebServiceWorkerClientCallbacks* callback)
+{
+ m_client.focus(clientUUID, callback);
+}
+
ServiceWorkerGlobalScopeClientImpl::ServiceWorkerGlobalScopeClientImpl(WebServiceWorkerContextClient& client)
: m_client(client)
{
« no previous file with comments | « Source/web/ServiceWorkerGlobalScopeClientImpl.h ('k') | public/platform/WebServiceWorkerClientsInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698