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

Unified Diff: content/common/service_worker/service_worker_messages.h

Issue 1149383004: [3/5 chromium] Shows the clients which are controlled by ServiceWorker in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: content/common/service_worker/service_worker_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index d18bef7f3d7cbb74e02b505714d78832b73ba906..9339508a5fa480b77395c46efe8cb625948adb44 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -146,14 +146,15 @@ IPC_MESSAGE_CONTROL3(
// Informs the browser of a new ServiceWorkerProvider in the child process,
// |provider_id| is unique within its child process.
// |render_frame_id| identifies the frame associated with the provider, it will
-// it will be MSG_ROUTING_NONE if the context is a worker instead of a document.
-// |provider_type| identifies whether this provider is for ServiceWorker
-// controllees (documents and SharedWorkers) or for controllers
-// (ServiceWorkers).
+// be MSG_ROUTING_NONE if the context is a worker instead of a document.
+// |shared_worker_route_id| identifies the SharedWorker associated with the
+// provider, it will be MSG_ROUTING_NONE if the context is not SharedWorker.
+// When the context is ServiceWorker, both |render_frame_id| and
+// |shared_worker_route_id| are MSG_ROUTING_NONE.
IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_ProviderCreated,
int /* provider_id */,
int /* render_frame_id */,
- content::ServiceWorkerProviderType /* provider_type */)
+ int /* shared_worker_route_id */)
// Informs the browser of a ServiceWorkerProvider being destroyed.
IPC_MESSAGE_CONTROL1(ServiceWorkerHostMsg_ProviderDestroyed,

Powered by Google App Engine
This is Rietveld 408576698