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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 1338001: Block database access on allowDatabase instead of databaseOpenFile. (Closed)
Patch Set: without worker support Created 10 years, 8 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 2100 matching lines...) Expand 10 before | Expand all | Expand 10 after
2111 // Get file modification time in seconds. Set result to 0 if failed to get the 2111 // Get file modification time in seconds. Set result to 0 if failed to get the
2112 // file modification time. 2112 // file modification time.
2113 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime, 2113 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_GetFileModificationTime,
2114 FilePath /* path */, 2114 FilePath /* path */,
2115 base::Time /* result */) 2115 base::Time /* result */)
2116 2116
2117 // Sent by the renderer process to acknowledge receipt of a 2117 // Sent by the renderer process to acknowledge receipt of a
2118 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. 2118 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame.
2119 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) 2119 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted)
2120 2120
2121 // Sent by the renderer process to check whether access to web databases is
2122 // granted by content settings. This may block and trigger a cookie prompt.
2123 IPC_SYNC_MESSAGE_ROUTED4_1(ViewHostMsg_AllowDatabase,
2124 std::string /* origin */,
michaeln 2010/03/30 19:46:19 origin_url
2125 string16 /* database name */,
2126 string16 /* database display name */,
2127 unsigned long /* estimated size */,
2128 bool /* result */)
2129
2121 // Asks the browser process to open a DB file with the given name 2130 // Asks the browser process to open a DB file with the given name
2122 IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseOpenFile, 2131 IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseOpenFile,
2123 string16 /* vfs file name */, 2132 string16 /* vfs file name */,
2124 int /* desired flags */, 2133 int /* desired flags */,
2125 int32 /* a unique message ID */) 2134 int32 /* a unique message ID */)
2126 2135
2127 // Asks the browser process to delete a DB file 2136 // Asks the browser process to delete a DB file
2128 IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseDeleteFile, 2137 IPC_MESSAGE_CONTROL3(ViewHostMsg_DatabaseDeleteFile,
2129 string16 /* vfs file name */, 2138 string16 /* vfs file name */,
2130 bool /* whether or not to sync the directory */, 2139 bool /* whether or not to sync the directory */,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 int /* render_view_id */, 2294 int /* render_view_id */,
2286 int /* bridge_id */) 2295 int /* bridge_id */)
2287 2296
2288 // The |render_view_id| and |bridge_id| requests Geolocation service to 2297 // The |render_view_id| and |bridge_id| requests Geolocation service to
2289 // resume. 2298 // resume.
2290 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2299 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2291 int /* render_view_id */, 2300 int /* render_view_id */,
2292 int /* bridge_id */) 2301 int /* bridge_id */)
2293 2302
2294 IPC_END_MESSAGES(ViewHost) 2303 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698