| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "base/string16.h" | 5 #include "base/string16.h" |
| 6 #include "chrome/common/ipc_message_macros.h" | 6 #include "chrome/common/ipc_message_macros.h" |
| 7 #include "googleurl/src/gurl.h" | 7 #include "googleurl/src/gurl.h" |
| 8 | 8 |
| 9 | 9 |
| 10 //----------------------------------------------------------------------------- | 10 //----------------------------------------------------------------------------- |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // These are messages sent from the worker process to the renderer process. | 48 // These are messages sent from the worker process to the renderer process. |
| 49 IPC_BEGIN_MESSAGES(WorkerHost) | 49 IPC_BEGIN_MESSAGES(WorkerHost) |
| 50 IPC_MESSAGE_ROUTED1(WorkerHostMsg_PostMessageToWorkerObject, | 50 IPC_MESSAGE_ROUTED1(WorkerHostMsg_PostMessageToWorkerObject, |
| 51 string16 /* message */) | 51 string16 /* message */) |
| 52 | 52 |
| 53 IPC_MESSAGE_ROUTED3(WorkerHostMsg_PostExceptionToWorkerObject, | 53 IPC_MESSAGE_ROUTED3(WorkerHostMsg_PostExceptionToWorkerObject, |
| 54 string16 /* error_message */, | 54 string16 /* error_message */, |
| 55 int /* line_number */, | 55 int /* line_number */, |
| 56 string16 /* source_url*/) | 56 string16 /* source_url*/) |
| 57 | 57 |
| 58 IPC_MESSAGE_ROUTED7(WorkerHostMsg_PostConsoleMessageToWorkerObject, | 58 IPC_MESSAGE_ROUTED1(WorkerHostMsg_PostConsoleMessageToWorkerObject, |
| 59 int /* destination */, | 59 WorkerHostMsg_PostConsoleMessageToWorkerObject_Params) |
| 60 int /* source */, | |
| 61 int /* type */, | |
| 62 int /* level */, | |
| 63 string16 /* message */, | |
| 64 int /* line_number */, | |
| 65 string16 /* source_url */) | |
| 66 | 60 |
| 67 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, | 61 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, |
| 68 bool /* bool has_pending_activity */) | 62 bool /* bool has_pending_activity */) |
| 69 | 63 |
| 70 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, | 64 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, |
| 71 bool /* bool has_pending_activity */) | 65 bool /* bool has_pending_activity */) |
| 72 | 66 |
| 73 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) | 67 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) |
| 74 IPC_END_MESSAGES(WorkerHost) | 68 IPC_END_MESSAGES(WorkerHost) |
| OLD | NEW |