diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 11:29:45 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-17 11:29:45 +0000 |
commit | e37f934991547accccd176d1d57d733eacde21ef (patch) | |
tree | 0e80c599ed5597bf5d9217e351795439b2564985 /chrome/browser/message_box_handler.cc | |
parent | 026a135063abda1ad446c049bbea1a971bf0ec4a (diff) | |
download | chromium_src-e37f934991547accccd176d1d57d733eacde21ef.zip chromium_src-e37f934991547accccd176d1d57d733eacde21ef.tar.gz chromium_src-e37f934991547accccd176d1d57d733eacde21ef.tar.bz2 |
Implement CONTENT_SETTING_ASK for database. Also some cleanup of the dialog for local storage.
BUG=34628
TEST=none
Review URL: http://codereview.chromium.org/605028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39214 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/message_box_handler.cc')
-rw-r--r-- | chrome/browser/message_box_handler.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/browser/message_box_handler.cc b/chrome/browser/message_box_handler.cc index 4a2d19f..df4820f 100644 --- a/chrome/browser/message_box_handler.cc +++ b/chrome/browser/message_box_handler.cc @@ -67,7 +67,6 @@ void RunCookiePrompt(TabContents* tab_contents, new CookiePromptModalDialog(tab_contents, origin, cookie_line, delegate)); } - void RunLocalStoragePrompt( TabContents* tab_contents, const GURL& origin, @@ -77,5 +76,15 @@ void RunLocalStoragePrompt( Singleton<AppModalDialogQueue>()->AddDialog( new CookiePromptModalDialog(tab_contents, origin, key, value, delegate)); } + +void RunDatabasePrompt( + TabContents* tab_contents, + const GURL& origin, + const string16& database_name, + CookiePromptModalDialogDelegate* delegate) { + Singleton<AppModalDialogQueue>()->AddDialog( + new CookiePromptModalDialog(tab_contents, origin, database_name, + delegate)); +} #endif |