diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 08:09:45 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 08:09:45 +0000 |
commit | 0a1a4543882c0cf8b73a44d4d79f36c4e6d77fe9 (patch) | |
tree | fcf3bff8df2138387cb0ad397460216fc05a66dc /chrome/browser/cookie_modal_dialog.h | |
parent | 28dd598b6433c08e58e261538af94b8aa5edff60 (diff) | |
download | chromium_src-0a1a4543882c0cf8b73a44d4d79f36c4e6d77fe9.zip chromium_src-0a1a4543882c0cf8b73a44d4d79f36c4e6d77fe9.tar.gz chromium_src-0a1a4543882c0cf8b73a44d4d79f36c4e6d77fe9.tar.bz2 |
Reland 43183. 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@43185 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 |