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

Unified Diff: chrome/browser/message_box_handler.cc

Issue 1338001: Block database access on allowDatabase instead of databaseOpenFile. (Closed)
Patch Set: without worker support Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/message_box_handler.cc
diff --git a/chrome/browser/message_box_handler.cc b/chrome/browser/message_box_handler.cc
index e004a0eadbd6b913f5521b77c07c20196c7b2212..1350c5cea0db63413782828250b73581c0360a54 100644
--- a/chrome/browser/message_box_handler.cc
+++ b/chrome/browser/message_box_handler.cc
@@ -70,10 +70,13 @@ void RunDatabasePrompt(
HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const string16& database_name,
+ const string16& display_name,
+ unsigned long estimated_size,
CookiePromptModalDialogDelegate* delegate) {
Singleton<AppModalDialogQueue>()->AddDialog(
new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- origin, database_name, delegate));
+ origin, database_name, display_name,
+ estimated_size, delegate));
}
void RunAppCachePrompt(

Powered by Google App Engine
This is Rietveld 408576698