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_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoaded, | 66 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerScriptLoaded, |
67 int /* embedded_worker_id */) | 67 int /* embedded_worker_id */, |
| 68 int /* thread_id */) |
68 | 69 |
69 // Renderer -> Browser message to indicate that the worker has failed to load | 70 // Renderer -> Browser message to indicate that the worker has failed to load |
70 // the script. | 71 // the script. |
71 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoadFailed, | 72 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerScriptLoadFailed, |
72 int /* embedded_worker_id */) | 73 int /* embedded_worker_id */) |
73 | 74 |
74 // Renderer -> Browser message to indicate that the worker is started. | 75 // Renderer -> Browser message to indicate that the worker is started. |
75 IPC_MESSAGE_CONTROL2(EmbeddedWorkerHostMsg_WorkerStarted, | 76 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStarted, |
76 int /* thread_id */, | |
77 int /* embedded_worker_id */) | 77 int /* embedded_worker_id */) |
78 | 78 |
79 // Renderer -> Browser message to indicate that the worker is stopped. | 79 // Renderer -> Browser message to indicate that the worker is stopped. |
80 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped, | 80 IPC_MESSAGE_CONTROL1(EmbeddedWorkerHostMsg_WorkerStopped, |
81 int /* embedded_worker_id */) | 81 int /* embedded_worker_id */) |
82 | 82 |
83 // Renderer -> Browser message to report an exception. | 83 // Renderer -> Browser message to report an exception. |
84 IPC_MESSAGE_CONTROL5(EmbeddedWorkerHostMsg_ReportException, | 84 IPC_MESSAGE_CONTROL5(EmbeddedWorkerHostMsg_ReportException, |
85 int /* embedded_worker_id */, | 85 int /* embedded_worker_id */, |
86 base::string16 /* error_message */, | 86 base::string16 /* error_message */, |
(...skipping 13 matching lines...) Expand all Loading... |
100 // for this for easier cross-thread message dispatching. | 100 // for this for easier cross-thread message dispatching. |
101 | 101 |
102 #undef IPC_MESSAGE_START | 102 #undef IPC_MESSAGE_START |
103 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart | 103 #define IPC_MESSAGE_START EmbeddedWorkerContextMsgStart |
104 | 104 |
105 // Browser -> Renderer message to send message. | 105 // Browser -> Renderer message to send message. |
106 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, | 106 IPC_MESSAGE_CONTROL3(EmbeddedWorkerContextMsg_MessageToWorker, |
107 int /* thread_id */, | 107 int /* thread_id */, |
108 int /* embedded_worker_id */, | 108 int /* embedded_worker_id */, |
109 IPC::Message /* message */) | 109 IPC::Message /* message */) |
OLD | NEW |