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

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

Issue 9557009: IndexedDB: chrome-side changes for permission check from shared worker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to ToT and fix comment Created 8 years, 9 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 string16 /* database display name */, 128 string16 /* database display name */,
129 unsigned long /* estimated size */, 129 unsigned long /* estimated size */,
130 bool /* result */) 130 bool /* result */)
131 131
132 // Sent by the worker process to check whether access to file system is allowed. 132 // Sent by the worker process to check whether access to file system is allowed.
133 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem, 133 IPC_SYNC_MESSAGE_CONTROL2_1(WorkerProcessHostMsg_AllowFileSystem,
134 int /* worker_route_id */, 134 int /* worker_route_id */,
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.
139 IPC_SYNC_MESSAGE_CONTROL3_1(WorkerProcessHostMsg_AllowIndexedDB,
140 int /* worker_route_id */,
141 GURL /* origin url */,
142 string16 /* database name */,
143 bool /* result */)
144
138 //----------------------------------------------------------------------------- 145 //-----------------------------------------------------------------------------
139 // Worker messages 146 // Worker messages
140 // These are messages sent from the renderer process to the worker process. 147 // These are messages sent from the renderer process to the worker process.
141 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext, 148 IPC_MESSAGE_ROUTED5(WorkerMsg_StartWorkerContext,
142 GURL /* url */, 149 GURL /* url */,
143 string16 /* user_agent */, 150 string16 /* user_agent */,
144 string16 /* source_code */, 151 string16 /* source_code */,
145 string16 /* content_security_policy */, 152 string16 /* content_security_policy */,
146 WebKit::WebContentSecurityPolicyType) 153 WebKit::WebContentSecurityPolicyType)
147 154
(...skipping 25 matching lines...) Expand all
173 180
174 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject, 181 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ConfirmMessageFromWorkerObject,
175 bool /* bool has_pending_activity */) 182 bool /* bool has_pending_activity */)
176 183
177 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity, 184 IPC_MESSAGE_ROUTED1(WorkerHostMsg_ReportPendingActivity,
178 bool /* bool has_pending_activity */) 185 bool /* bool has_pending_activity */)
179 186
180 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed, 187 IPC_MESSAGE_CONTROL1(WorkerHostMsg_WorkerContextClosed,
181 int /* worker_route_id */) 188 int /* worker_route_id */)
182 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed) 189 IPC_MESSAGE_ROUTED0(WorkerHostMsg_WorkerContextDestroyed)
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/public/browser/content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698