Index: content/renderer/service_worker/service_worker_script_context.h |
diff --git a/content/renderer/service_worker/service_worker_script_context.h b/content/renderer/service_worker/service_worker_script_context.h |
index 4f435dc3cece56fb677ea53393fa979dc7b27bb5..0ab294dca33f118a2c2f9aeb779e6540e1dff898 100644 |
--- a/content/renderer/service_worker/service_worker_script_context.h |
+++ b/content/renderer/service_worker/service_worker_script_context.h |
@@ -80,15 +80,15 @@ class ServiceWorkerScriptContext { |
blink::WebServiceWorkerClientCallbacks* callbacks); |
void SetCachedMetadata(const GURL& url, const char* data, size_t size); |
void ClearCachedMetadata(const GURL& url); |
- void PostMessageToDocument( |
- int client_id, |
+ void PostMessageToClient( |
+ const base::string16& uuid, |
const base::string16& message, |
scoped_ptr<blink::WebMessagePortChannelArray> channels); |
void PostCrossOriginMessageToClient( |
const blink::WebCrossOriginServiceWorkerClient& client, |
const base::string16& message, |
scoped_ptr<blink::WebMessagePortChannelArray> channels); |
- void FocusClient(int client_id, |
+ void FocusClient(const base::string16& uuid, |
blink::WebServiceWorkerClientCallbacks* callback); |
void SkipWaiting(blink::WebServiceWorkerSkipWaitingCallbacks* callbacks); |
void ClaimClients(blink::WebServiceWorkerClientsClaimCallbacks* callbacks); |