Chromium Code Reviews| 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 IPC_MESSAGE_CONTROL2(EmbeddedWorkerMsg_MessageToWorker, | |
|
kinuko
2014/04/28 07:25:56
If this message type's only used to dispatch devto
horo
2014/04/28 08:33:09
Done.
| |
| 42 int /* embedded_worker_id */, | |
| 43 IPC::Message /* message */) | |
| 44 | |
| 41 // Renderer -> Browser message to indicate that the worker is started. | 45 // Renderer -> Browser message to indicate that the worker is started. |
| 42 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, | 46 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, |
| 43 int /* thread_id */, | 47 int /* thread_id */, |
| 44 int /* embedded_worker_id */) | 48 int /* embedded_worker_id */) |
| 45 | 49 |
| 46 // Renderer -> Browser message to indicate that the worker is stopped. | 50 // Renderer -> Browser message to indicate that the worker is stopped. |
| 47 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped, | 51 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped, |
| 48 int /* embedded_worker_id */) | 52 int /* embedded_worker_id */) |
| 49 | 53 |
| 50 // Renderer -> Browser message to report an exception. | 54 // Renderer -> Browser message to report an exception. |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 67 // for this for easier cross-thread message dispatching. | 71 // for this for easier cross-thread message dispatching. |
| 68 | 72 |
| 69 #undef IPC_MESSAGE_START | 73 #undef IPC_MESSAGE_START |
| 70 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart | 74 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart |
| 71 | 75 |
| 72 // Browser -> Renderer message to send message. | 76 // Browser -> Renderer message to send message. |
| 73 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, | 77 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, |
| 74 int /* thread_id */, | 78 int /* thread_id */, |
| 75 int /* embedded_worker_id */, | 79 int /* embedded_worker_id */, |
| 76 IPC::Message /* message */) | 80 IPC::Message /* message */) |
| OLD | NEW |