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

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

Issue 7012007: Chrome side of having the WebKit FileSystem API use WebPermissionClient for checking if using fil... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 // Sends the browser all the queued messages that arrived at this message port 112 // Sends the browser all the queued messages that arrived at this message port
113 // after it was sent in a postMessage call. 113 // after it was sent in a postMessage call.
114 // NOTE: MSVS can't compile the macro if std::vector<std::pair<string16, int> > 114 // NOTE: MSVS can't compile the macro if std::vector<std::pair<string16, int> >
115 // is used, so we typedef it in worker_messages.h. 115 // is used, so we typedef it in worker_messages.h.
116 IPC_MESSAGE_CONTROL2(WorkerProcessHostMsg_SendQueuedMessages, 116 IPC_MESSAGE_CONTROL2(WorkerProcessHostMsg_SendQueuedMessages,
117 int /* message_port_id */, 117 int /* message_port_id */,
118 std::vector<QueuedMessage> /* queued_messages */) 118 std::vector<QueuedMessage> /* queued_messages */)
119 119
120 // Sent by the worker process to check whether access to web databases is 120 // Sent by the worker process to check whether access to web databases is
121 // granted by content settings. 121 // allowed.
122 IPC_SYNC_MESSAGE_CONTROL5_1(WorkerProcessHostMsg_AllowDatabase, 122 IPC_SYNC_MESSAGE_CONTROL5_1(WorkerProcessHostMsg_AllowDatabase,
123 int /* worker_route_id */, 123 int /* worker_route_id */,
124 GURL /* origin url */, 124 GURL /* origin url */,
125 string16 /* database name */, 125 string16 /* database name */,
126 string16 /* database display name */, 126 string16 /* database display name */,
127 unsigned long /* estimated size */, 127 unsigned long /* estimated size */,
128 bool /* result */) 128 bool /* result */)
129 129
130 // Sent by the worker process to check whether access to file system is allowed.
131 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem,
132 int /* worker_route_id */,
133 GURL /* origin url */,
134 bool /* result */)
135
130 //----------------------------------------------------------------------------- 136 //-----------------------------------------------------------------------------
131 // Worker messages 137 // Worker messages
132 // These are messages sent from the renderer process to the worker process. 138 // These are messages sent from the renderer process to the worker process.
133 IPC_MESSAGE_ROUTED3(WorkerMsg_StartWorkerContext, 139 IPC_MESSAGE_ROUTED3(WorkerMsg_StartWorkerContext,
134 GURL /* url */, 140 GURL /* url */,
135 string16 /* user_agent */, 141 string16 /* user_agent */,
136 string16 /* source_code */) 142 string16 /* source_code */)
137 143
138 IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext) 144 IPC_MESSAGE_ROUTED0(WorkerMsg_TerminateWorkerContext)
139 145
(...skipping 24 matching lines...) Expand all
164 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, 170 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject,
165 bool /* bool has_pending_activity */) 171 bool /* bool has_pending_activity */)
166 172
167 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, 173 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity,
168 bool /* bool has_pending_activity */) 174 bool /* bool has_pending_activity */)
169 175
170 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, 176 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed,
171 int /* worker_route_id */) 177 int /* worker_route_id */)
172 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) 178 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed)
173 179
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/worker/webworkerclient_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698