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

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

Issue 252633003: Introduce worker_devtools_agent_route_id for EmbeddedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create NextRoutingIDCallback from widget_helper_ in RenderProcessHostImpl. Rename worker_route_id to worker_devtools_agent_route_id and change the order. Created 6 years, 8 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/embedded_worker_messages.h
diff --git a/content/common/service_worker/embedded_worker_messages.h b/content/common/service_worker/embedded_worker_messages.h
index e9570950abaa76972e34c90f54d80f81fb983970..6c73ac4d0e294e236ac0be95b71d0068e111d6fd 100644
--- a/content/common/service_worker/embedded_worker_messages.h
+++ b/content/common/service_worker/embedded_worker_messages.h
@@ -28,11 +28,12 @@ IPC_STRUCT_MEMBER(GURL, source_url)
IPC_STRUCT_END()
// Browser -> Renderer message to create a new embedded worker context.
-IPC_MESSAGE_CONTROL4(EmbeddedWorkerMsg_StartWorker,
+IPC_MESSAGE_CONTROL5(EmbeddedWorkerMsg_StartWorker,
int /* embedded_worker_id */,
int64 /* service_worker_version_id */,
GURL /* scope */,
- GURL /* script_url */)
+ GURL /* script_url */,
+ int /* worker_devtools_agent_route_id */)
// Browser -> Renderer message to stop (terminate) the embedded worker.
IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker,

Powered by Google App Engine
This is Rietveld 408576698