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

Unified Diff: content/renderer/service_worker/embedded_worker_context_client.h

Issue 988063004: Use UUID for ServiceWorker Client identifier (2/3, chromium) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments 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
Index: content/renderer/service_worker/embedded_worker_context_client.h
diff --git a/content/renderer/service_worker/embedded_worker_context_client.h b/content/renderer/service_worker/embedded_worker_context_client.h
index 166bcecd311949fb076098ebc171eaf60de6e88a..d12268de92b41fdf455b6343719879315fc337a0 100644
--- a/content/renderer/service_worker/embedded_worker_context_client.h
+++ b/content/renderer/service_worker/embedded_worker_context_client.h
@@ -115,14 +115,14 @@ class EmbeddedWorkerContextClient
virtual blink::WebServiceWorkerProvider* createServiceWorkerProvider();
virtual void postMessageToClient(
- int client_id,
+ const blink::WebString& uuid,
const blink::WebString& message,
blink::WebMessagePortChannelArray* channels);
virtual void postMessageToCrossOriginClient(
const blink::WebCrossOriginServiceWorkerClient& client,
const blink::WebString& message,
blink::WebMessagePortChannelArray* channels);
- virtual void focus(int client_id,
+ virtual void focus(const blink::WebString& uuid,
blink::WebServiceWorkerClientCallbacks*);
virtual void skipWaiting(
blink::WebServiceWorkerSkipWaitingCallbacks* callbacks);

Powered by Google App Engine
This is Rietveld 408576698