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

Unified Diff: chrome/browser/cookie_modal_dialog.h

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/cookie_modal_dialog.h
diff --git a/chrome/browser/cookie_modal_dialog.h b/chrome/browser/cookie_modal_dialog.h
index 793c5870c684b2d3b39e74f8970332f2726e75ec..bfc2b675d3c72f947535ff7954c3bb932cf46ec7 100644
--- a/chrome/browser/cookie_modal_dialog.h
+++ b/chrome/browser/cookie_modal_dialog.h
@@ -52,6 +52,8 @@ class CookiePromptModalDialog : public AppModalDialog {
HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const string16& database_name,
+ const string16& display_name,
+ unsigned long estimated_size,
CookiePromptModalDialogDelegate* delegate);
CookiePromptModalDialog(TabContents* tab_contents,
HostContentSettingsMap* host_content_settings_map,
@@ -80,6 +82,8 @@ class CookiePromptModalDialog : public AppModalDialog {
const string16& local_storage_key() const { return local_storage_key_; }
const string16& local_storage_value() const { return local_storage_value_; }
const string16& database_name() const { return database_name_; }
+ const string16& display_name() const { return display_name_; }
+ unsigned long estimated_size() const { return estimated_size_; }
const GURL& appcache_manifest_url() const { return appcache_manifest_url_; }
TabContents* tab_contents() const { return tab_contents_; }
@@ -114,6 +118,8 @@ class CookiePromptModalDialog : public AppModalDialog {
const string16 local_storage_key_;
const string16 local_storage_value_;
const string16 database_name_;
+ const string16 display_name_;
+ unsigned long estimated_size_;
const GURL appcache_manifest_url_;
// The caller should provide a delegate in order to receive results
« no previous file with comments | « no previous file | chrome/browser/cookie_modal_dialog.cc » ('j') | chrome/browser/renderer_host/database_dispatcher_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698