diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-08 21:10:55 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-08 21:10:55 +0000 |
commit | 45134197a411fd9e02986c9e11d7b6d876891f23 (patch) | |
tree | c46c08306d7424b3a607ca0d06b2742d7e879c68 /chrome/browser/message_box_handler.cc | |
parent | 7d74aaab9390a7502dac835ddcd2a5175224702e (diff) | |
download | chromium_src-45134197a411fd9e02986c9e11d7b6d876891f23.zip chromium_src-45134197a411fd9e02986c9e11d7b6d876891f23.tar.gz chromium_src-45134197a411fd9e02986c9e11d7b6d876891f23.tar.bz2 |
Show an app modal dialog when the cookie policy is ASK.
This hooks up the dialog for cookies and localstorage. It also includes
support for remembering the decision, and in the case of cookies, support is
added for forcing a cookie to be a stored as a session cookie.
BUG=34625,34572
Review URL: http://codereview.chromium.org/583004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/message_box_handler.cc')
-rw-r--r-- | chrome/browser/message_box_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/message_box_handler.cc b/chrome/browser/message_box_handler.cc index 3e1793c..b1c33a7 100644 --- a/chrome/browser/message_box_handler.cc +++ b/chrome/browser/message_box_handler.cc @@ -60,11 +60,11 @@ void RunBeforeUnloadDialog(TabContents* tab_contents, #if defined(OS_WIN) void RunCookiePrompt(TabContents* tab_contents, - const GURL& url, + const std::string& host, const std::string& cookie_line, CookiePromptModalDialogDelegate* delegate) { Singleton<AppModalDialogQueue>()->AddDialog( - new CookiePromptModalDialog(tab_contents, url, cookie_line, delegate)); + new CookiePromptModalDialog(tab_contents, host, cookie_line, delegate)); } |