diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 07:36:24 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 07:36:24 +0000 |
commit | 81be9bdbe8e380ea383c3ff0e3ef496524793fec (patch) | |
tree | 5953ac40c46438fcc4c2577f8cc370874b70180e /chrome/browser/cookie_modal_dialog.h | |
parent | 7cc9929276a9a927ef3589109717f0765239e2af (diff) | |
download | chromium_src-81be9bdbe8e380ea383c3ff0e3ef496524793fec.zip chromium_src-81be9bdbe8e380ea383c3ff0e3ef496524793fec.tar.gz chromium_src-81be9bdbe8e380ea383c3ff0e3ef496524793fec.tar.bz2 |
Block database access on allowDatabase instead of databaseOpenFile.
BUG=36435
TEST=Set cookie settings to ASK and open a page with web databases.
Review URL: http://codereview.chromium.org/1338001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43183 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cookie_modal_dialog.h')
-rw-r--r-- | chrome/browser/cookie_modal_dialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cookie_modal_dialog.h b/chrome/browser/cookie_modal_dialog.h index 793c587..bfc2b67 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 |