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

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

Issue 2378073002: Reland of ServiceWorker: Implement StartWorker by using mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 a245c4e007185a1c9da06593622675c5b5b4b306..34dc1eb2cabcb93c5273e35a9639033af72c7de9 100644
--- a/content/common/service_worker/embedded_worker_messages.h
+++ b/content/common/service_worker/embedded_worker_messages.h
@@ -9,6 +9,7 @@
#include <string>
#include "content/common/service_worker/embedded_worker_settings.h"
+#include "content/common/service_worker/embedded_worker_start_params.h"
#include "content/public/common/console_message_level.h"
#include "content/public/common/web_preferences.h"
#include "ipc/ipc_message.h"
@@ -27,17 +28,17 @@
IPC_STRUCT_TRAITS_END()
// Parameters structure for EmbeddedWorkerMsg_StartWorker.
-IPC_STRUCT_BEGIN(EmbeddedWorkerMsg_StartWorker_Params)
- IPC_STRUCT_MEMBER(int, embedded_worker_id)
- IPC_STRUCT_MEMBER(int64_t, 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, pause_after_download)
- IPC_STRUCT_MEMBER(bool, wait_for_debugger)
- IPC_STRUCT_MEMBER(bool, is_installed)
- IPC_STRUCT_MEMBER(content::EmbeddedWorkerSettings, settings)
-IPC_STRUCT_END()
+IPC_STRUCT_TRAITS_BEGIN(content::EmbeddedWorkerStartParams)
+ IPC_STRUCT_TRAITS_MEMBER(embedded_worker_id)
+ IPC_STRUCT_TRAITS_MEMBER(service_worker_version_id)
+ IPC_STRUCT_TRAITS_MEMBER(scope)
+ IPC_STRUCT_TRAITS_MEMBER(script_url)
+ IPC_STRUCT_TRAITS_MEMBER(worker_devtools_agent_route_id)
+ IPC_STRUCT_TRAITS_MEMBER(pause_after_download)
+ IPC_STRUCT_TRAITS_MEMBER(wait_for_debugger)
+ IPC_STRUCT_TRAITS_MEMBER(is_installed)
+ IPC_STRUCT_TRAITS_MEMBER(settings)
+IPC_STRUCT_TRAITS_END()
// Parameters structure for EmbeddedWorkerHostMsg_ReportConsoleMessage.
// The data members directly correspond to parameters of
@@ -52,7 +53,7 @@
// Browser -> Renderer message to create a new embedded worker context.
IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StartWorker,
- EmbeddedWorkerMsg_StartWorker_Params /* params */)
+ content::EmbeddedWorkerStartParams /* params */)
// Browser -> Renderer message to resume a worker that has been started
// with the pause_after_download option.
« no previous file with comments | « content/common/service_worker/embedded_worker.typemap ('k') | content/common/service_worker/embedded_worker_start_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698