| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_DidPauseAfterDownload, | 56 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_DidPauseAfterDownload, |
| 57 int /* embedded_worker_id */) | 57 int /* embedded_worker_id */) |
| 58 | 58 |
| 59 // Renderer -> Browser message to indicate that the worker is ready for | 59 // Renderer -> Browser message to indicate that the worker is ready for |
| 60 // inspection. | 60 // inspection. |
| 61 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerReadyForInspection, | 61 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerReadyForInspection, |
| 62 int /* embedded_worker_id */) | 62 int /* embedded_worker_id */) |
| 63 | 63 |
| 64 // Renderer -> Browser message to indicate that the worker has loadedd the | 64 // Renderer -> Browser message to indicate that the worker has loadedd the |
| 65 // script. | 65 // script. |
| 66 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerScriptLoaded, | 66 IPC_MESSAGE_CONTROL3(EmbeddedWorkerHostMsg_WorkerScriptLoaded, |
| 67 int /* embedded_worker_id */, | 67 int /* embedded_worker_id */, |
| 68 int /* thread_id */) | 68 int /* thread_id */, |
| 69 int /* provider_id */) |
| 69 | 70 |
| 70 // Renderer -> Browser message to indicate that the worker has failed to load | 71 // Renderer -> Browser message to indicate that the worker has failed to load |
| 71 // the script. | 72 // the script. |
| 72 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoadFailed, | 73 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoadFailed, |
| 73 int /* embedded_worker_id */) | 74 int /* embedded_worker_id */) |
| 74 | 75 |
| 75 // Renderer -> Browser message to indicate that the worker has evaluated the | 76 // Renderer -> Browser message to indicate that the worker has evaluated the |
| 76 // script. | 77 // script. |
| 77 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerScriptEvaluated, | 78 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerScriptEvaluated, |
| 78 int /* embedded_worker_id */, | 79 int /* embedded_worker_id */, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 106 // for this for easier cross-thread message dispatching. | 107 // for this for easier cross-thread message dispatching. |
| 107 | 108 |
| 108 #undef IPC_MESSAGE_START | 109 #undef IPC_MESSAGE_START |
| 109 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart | 110 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart |
| 110 | 111 |
| 111 // Browser -> Renderer message to send message. | 112 // Browser -> Renderer message to send message. |
| 112 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, | 113 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, |
| 113 int /* thread_id */, | 114 int /* thread_id */, |
| 114 int /* embedded_worker_id */, | 115 int /* embedded_worker_id */, |
| 115 IPC::Message /* message */) | 116 IPC::Message /* message */) |
| OLD | NEW |