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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Message definition file, included multiple times, hence no include guard. 5 // Message definition file, included multiple times, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 10 matching lines...) Expand all
21 // WorkerMessagingProxy::reportConsoleMessage() 21 // WorkerMessagingProxy::reportConsoleMessage()
22 IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params) 22 IPC_STRUCT_BEGIN(EmbeddedWorkerHostMsg_ReportConsoleMessage_Params)
23 IPC_STRUCT_MEMBER(int, source_identifier) 23 IPC_STRUCT_MEMBER(int, source_identifier)
24 IPC_STRUCT_MEMBER(int, message_level) 24 IPC_STRUCT_MEMBER(int, message_level)
25 IPC_STRUCT_MEMBER(base::string16, message) 25 IPC_STRUCT_MEMBER(base::string16, message)
26 IPC_STRUCT_MEMBER(int, line_number) 26 IPC_STRUCT_MEMBER(int, line_number)
27 IPC_STRUCT_MEMBER(GURL, source_url) 27 IPC_STRUCT_MEMBER(GURL, source_url)
28 IPC_STRUCT_END() 28 IPC_STRUCT_END()
29 29
30 // Browser -> Renderer message to create a new embedded worker context. 30 // Browser -> Renderer message to create a new embedded worker context.
31 IPC_MESSAGE_CONTROL4(EmbeddedWorkerMsg_StartWorker, 31 IPC_MESSAGE_CONTROL5(EmbeddedWorkerMsg_StartWorker,
32 int /* embedded_worker_id */, 32 int /* embedded_worker_id */,
33 int64 /* service_worker_version_id */, 33 int64 /* service_worker_version_id */,
34 GURL /* scope */, 34 GURL /* scope */,
35 GURL /* script_url */) 35 GURL /* script_url */,
36 int /* worker_devtools_agent_route_id */)
36 37
37 // Browser -> Renderer message to stop (terminate) the embedded worker. 38 // Browser -> Renderer message to stop (terminate) the embedded worker.
38 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, 39 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker,
39 int /* embedded_worker_id */) 40 int /* embedded_worker_id */)
40 41
41 // Renderer -> Browser message to indicate that the worker is started. 42 // Renderer -> Browser message to indicate that the worker is started.
42 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, 43 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted,
43 int /* thread_id */, 44 int /* thread_id */,
44 int /* embedded_worker_id */) 45 int /* embedded_worker_id */)
45 46
(...skipping 21 matching lines...) Expand all
67 // for this for easier cross-thread message dispatching. 68 // for this for easier cross-thread message dispatching.
68 69
69 #undef IPC_MESSAGE_START 70 #undef IPC_MESSAGE_START
70 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart 71 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart
71 72
72 // Browser -> Renderer message to send message. 73 // Browser -> Renderer message to send message.
73 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, 74 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker,
74 int /* thread_id */, 75 int /* thread_id */,
75 int /* embedded_worker_id */, 76 int /* embedded_worker_id */,
76 IPC::Message /* message */) 77 IPC::Message /* message */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698