Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Side by Side Diff: content/common/worker_messages.h

Issue 102543003: Merge 233099 "Kill worker process by way of a sync IPC message b..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1650/src/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/worker/worker_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_CONTROL0_0(WorkerProcessHostMsg_ForceKillWorker);
147
148
145 //----------------------------------------------------------------------------- 149 //-----------------------------------------------------------------------------
146 // Worker messages 150 // Worker messages
147 // These are messages sent from the renderer process to the worker process. 151 // These are messages sent from the renderer process to the worker process.
148 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext, 152 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext,
149 GURL /* url */, 153 GURL /* url */,
150 string16 /* user_agent */, 154 string16 /* user_agent */,
151 string16 /* source_code */, 155 string16 /* source_code */,
152 string16 /* content_security_policy */, 156 string16 /* content_security_policy */,
153 WebKit::WebContentSecurityPolicyType) 157 WebKit::WebContentSecurityPolicyType)
154 158
(...skipping 25 matching lines...) Expand all
180 184
181 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, 185 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject,
182 bool /* bool has_pending_activity */) 186 bool /* bool has_pending_activity */)
183 187
184 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, 188 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity,
185 bool /* bool has_pending_activity */) 189 bool /* bool has_pending_activity */)
186 190
187 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, 191 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed,
188 int /* worker_route_id */) 192 int /* worker_route_id */)
189 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) 193 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed)
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/worker/worker_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698