diff options
Diffstat (limited to 'chrome/browser/message_box_handler.cc')
-rw-r--r-- | chrome/browser/message_box_handler.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/message_box_handler.cc b/chrome/browser/message_box_handler.cc index b1c33a7..4a2d19f 100644 --- a/chrome/browser/message_box_handler.cc +++ b/chrome/browser/message_box_handler.cc @@ -60,20 +60,22 @@ void RunBeforeUnloadDialog(TabContents* tab_contents, #if defined(OS_WIN) void RunCookiePrompt(TabContents* tab_contents, - const std::string& host, + const GURL& origin, const std::string& cookie_line, CookiePromptModalDialogDelegate* delegate) { Singleton<AppModalDialogQueue>()->AddDialog( - new CookiePromptModalDialog(tab_contents, host, cookie_line, delegate)); + new CookiePromptModalDialog(tab_contents, origin, cookie_line, delegate)); } void RunLocalStoragePrompt( TabContents* tab_contents, - const BrowsingDataLocalStorageHelper::LocalStorageInfo& local_storage_info, + const GURL& origin, + const string16& key, + const string16& value, CookiePromptModalDialogDelegate* delegate) { Singleton<AppModalDialogQueue>()->AddDialog( - new CookiePromptModalDialog(tab_contents, local_storage_info, delegate)); + new CookiePromptModalDialog(tab_contents, origin, key, value, delegate)); } #endif |