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

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

Issue 1223193009: WIP attempt to replace StartWorker/StopWorker IPCs with a new mojo EmbeddedWorker service. Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-event-dispatching-option2
Patch Set: Created 5 years, 5 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 | « content/common/service_worker/embedded_worker.mojom ('k') | content/content_common_mojo_bindings.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 56216ca4fa3945b341d6b9f2fefe72ec5f586aa4..5d5e125cd70df462d4faef643ee40a1358397c91 100644
--- a/content/common/service_worker/embedded_worker_messages.h
+++ b/content/common/service_worker/embedded_worker_messages.h
@@ -17,17 +17,6 @@
#define IPC_MESSAGE_START EmbeddedWorkerMsgStart
-// Parameters structure for EmbeddedWorkerMsg_StartWorker.
-IPC_STRUCT_BEGIN(EmbeddedWorkerMsg_StartWorker_Params)
- IPC_STRUCT_MEMBER(int, embedded_worker_id)
- IPC_STRUCT_MEMBER(int64, service_worker_version_id)
- IPC_STRUCT_MEMBER(GURL, scope)
- IPC_STRUCT_MEMBER(GURL, script_url)
- IPC_STRUCT_MEMBER(int, worker_devtools_agent_route_id)
- IPC_STRUCT_MEMBER(bool, wait_for_debugger)
- IPC_STRUCT_MEMBER(content::V8CacheOptions, v8_cache_options)
-IPC_STRUCT_END()
-
// Parameters structure for EmbeddedWorkerHostMsg_ReportConsoleMessage.
// The data members directly correspond to parameters of
// WorkerMessagingProxy::reportConsoleMessage()
@@ -39,14 +28,6 @@ IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params)
IPC_STRUCT_MEMBER(GURL, source_url)
IPC_STRUCT_END()
-// Browser -> Renderer message to create a new embedded worker context.
-IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StartWorker,
- EmbeddedWorkerMsg_StartWorker_Params /* params */)
-
-// Browser -> Renderer message to stop (terminate) the embedded worker.
-IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker,
- int /* embedded_worker_id */)
-
// Renderer -> Browser message to indicate that the worker is ready for
// inspection.
IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerReadyForInspection,
« no previous file with comments | « content/common/service_worker/embedded_worker.mojom ('k') | content/content_common_mojo_bindings.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698