| OLD | NEW |
| 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 20 matching lines...) Expand all Loading... |
| 31 IPC_MESSAGE_CONTROL4(EmbeddedWorkerMsg_StartWorker, | 31 IPC_MESSAGE_CONTROL4(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 | 36 |
| 37 // Browser -> Renderer message to stop (terminate) the embedded worker. | 37 // Browser -> Renderer message to stop (terminate) the embedded worker. |
| 38 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, | 38 IPC_MESSAGE_CONTROL1(EmbeddedWorkerMsg_StopWorker, |
| 39 int /* embedded_worker_id */) | 39 int /* embedded_worker_id */) |
| 40 | 40 |
| 41 // Browser -> Renderer message sent to DevToolsAgent in the embedded worker. |
| 42 IPC_MESSAGE_CONTROL2(EmbeddedWorkerMsg_MessageToDevToolsAgent, |
| 43 int /* embedded_worker_id */, |
| 44 IPC::Message /* message */) |
| 45 |
| 41 // Renderer -> Browser message to indicate that the worker is started. | 46 // Renderer -> Browser message to indicate that the worker is started. |
| 42 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, | 47 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, |
| 43 int /* thread_id */, | 48 int /* thread_id */, |
| 44 int /* embedded_worker_id */) | 49 int /* embedded_worker_id */) |
| 45 | 50 |
| 46 // Renderer -> Browser message to indicate that the worker is stopped. | 51 // Renderer -> Browser message to indicate that the worker is stopped. |
| 47 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped, | 52 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped, |
| 48 int /* embedded_worker_id */) | 53 int /* embedded_worker_id */) |
| 49 | 54 |
| 50 // Renderer -> Browser message to report an exception. | 55 // Renderer -> Browser message to report an exception. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 67 // for this for easier cross-thread message dispatching. | 72 // for this for easier cross-thread message dispatching. |
| 68 | 73 |
| 69 #undef IPC_MESSAGE_START | 74 #undef IPC_MESSAGE_START |
| 70 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart | 75 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart |
| 71 | 76 |
| 72 // Browser -> Renderer message to send message. | 77 // Browser -> Renderer message to send message. |
| 73 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, | 78 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, |
| 74 int /* thread_id */, | 79 int /* thread_id */, |
| 75 int /* embedded_worker_id */, | 80 int /* embedded_worker_id */, |
| 76 IPC::Message /* message */) | 81 IPC::Message /* message */) |
| OLD | NEW |