OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Defines messages between the browser and worker process, as well as between | 5 // Defines messages between the browser and worker process, as well as between |
6 // the renderer and worker process. | 6 // the renderer and worker process. |
7 | 7 |
8 // Multiply-included message file, hence no include guard. | 8 // Multiply-included message file, hence no include guard. |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
17 #include "googleurl/src/gurl.h" | |
18 #include "ipc/ipc_message_macros.h" | 17 #include "ipc/ipc_message_macros.h" |
19 #include "ipc/ipc_message_utils.h" | 18 #include "ipc/ipc_message_utils.h" |
20 #include "third_party/WebKit/public/web/WebSharedWorker.h" | 19 #include "third_party/WebKit/public/web/WebSharedWorker.h" |
| 20 #include "url/gurl.h" |
21 | 21 |
22 // Singly-included section, not converted. | 22 // Singly-included section, not converted. |
23 #ifndef CONTENT_COMMON_WORKER_MESSAGES_H_ | 23 #ifndef CONTENT_COMMON_WORKER_MESSAGES_H_ |
24 #define CONTENT_COMMON_WORKER_MESSAGES_H_ | 24 #define CONTENT_COMMON_WORKER_MESSAGES_H_ |
25 | 25 |
26 typedef std::pair<string16, std::vector<int> > QueuedMessage; | 26 typedef std::pair<string16, std::vector<int> > QueuedMessage; |
27 | 27 |
28 #endif // CONTENT_COMMON_WORKER_MESSAGES_H_ | 28 #endif // CONTENT_COMMON_WORKER_MESSAGES_H_ |
29 | 29 |
30 #undef IPC_MESSAGE_EXPORT | 30 #undef IPC_MESSAGE_EXPORT |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, | 181 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, |
182 bool /* bool has_pending_activity */) | 182 bool /* bool has_pending_activity */) |
183 | 183 |
184 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, | 184 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, |
185 bool /* bool has_pending_activity */) | 185 bool /* bool has_pending_activity */) |
186 | 186 |
187 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, | 187 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, |
188 int /* worker_route_id */) | 188 int /* worker_route_id */) |
189 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) | 189 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) |
OLD | NEW |