Chromium Code Reviews| 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> |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 135 GURL /* origin url */, | 135 GURL /* origin url */, |
| 136 bool /* result */) | 136 bool /* result */) |
| 137 | 137 |
| 138 // Sent by the worker process to check whether access to IndexedDB is allowed. | 138 // Sent by the worker process to check whether access to IndexedDB is allowed. |
| 139 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB, | 139 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB, |
| 140 int /* worker_route_id */, | 140 int /* worker_route_id */, |
| 141 GURL /* origin url */, | 141 GURL /* origin url */, |
| 142 string16 /* database name */, | 142 string16 /* database name */, |
| 143 bool /* result */) | 143 bool /* result */) |
| 144 | 144 |
| 145 // Sent by the worker process to request being killed. | |
| 146 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_ForceKillWorker, | |
| 147 int /* worker_route_id */, | |
| 148 base::ProcessHandle /* worker process handle */, | |
| 149 bool /* result */) | |
|
michaeln
2013/09/12 02:03:20
You don't need the route_id or handl params for th
meacer
2013/09/16 21:40:42
Done.
| |
| 150 | |
| 145 //----------------------------------------------------------------------------- | 151 //----------------------------------------------------------------------------- |
| 146 // Worker messages | 152 // Worker messages |
| 147 // These are messages sent from the renderer process to the worker process. | 153 // These are messages sent from the renderer process to the worker process. |
| 148 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext, | 154 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext, |
| 149 GURL /* url */, | 155 GURL /* url */, |
| 150 string16 /* user_agent */, | 156 string16 /* user_agent */, |
| 151 string16 /* source_code */, | 157 string16 /* source_code */, |
| 152 string16 /* content_security_policy */, | 158 string16 /* content_security_policy */, |
| 153 WebKit::WebContentSecurityPolicyType) | 159 WebKit::WebContentSecurityPolicyType) |
| 154 | 160 |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 180 | 186 |
| 181 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, | 187 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, |
| 182 bool /* bool has_pending_activity */) | 188 bool /* bool has_pending_activity */) |
| 183 | 189 |
| 184 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, | 190 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, |
| 185 bool /* bool has_pending_activity */) | 191 bool /* bool has_pending_activity */) |
| 186 | 192 |
| 187 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, | 193 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, |
| 188 int /* worker_route_id */) | 194 int /* worker_route_id */) |
| 189 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) | 195 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) |
| OLD | NEW |