Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1710)

Unified Diff: chrome/browser/message_box_handler.cc

Issue 651023: Pass in the HostContentSettingsMap to the CookieModalDialog so IsValid can ma... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/message_box_handler.h ('k') | chrome/browser/net/chrome_cookie_policy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/message_box_handler.cc
===================================================================
--- chrome/browser/message_box_handler.cc (revision 39556)
+++ chrome/browser/message_box_handler.cc (working copy)
@@ -60,31 +60,36 @@
#if defined(OS_WIN)
void RunCookiePrompt(TabContents* tab_contents,
+ HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const std::string& cookie_line,
CookiePromptModalDialogDelegate* delegate) {
Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, origin, cookie_line, delegate));
+ new CookiePromptModalDialog(tab_contents, host_content_settings_map,
+ origin, cookie_line, delegate));
}
void RunLocalStoragePrompt(
TabContents* tab_contents,
+ HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const string16& key,
const string16& value,
CookiePromptModalDialogDelegate* delegate) {
Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, origin, key, value, delegate));
+ new CookiePromptModalDialog(tab_contents, host_content_settings_map,
+ origin, key, value, delegate));
}
void RunDatabasePrompt(
TabContents* tab_contents,
+ HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const string16& database_name,
CookiePromptModalDialogDelegate* delegate) {
Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, origin, database_name,
- delegate));
+ new CookiePromptModalDialog(tab_contents, host_content_settings_map,
+ origin, database_name, delegate));
}
#endif
« no previous file with comments | « chrome/browser/message_box_handler.h ('k') | chrome/browser/net/chrome_cookie_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698