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

Unified Diff: chrome/browser/message_box_handler.h

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
Index: chrome/browser/message_box_handler.h
===================================================================
--- chrome/browser/message_box_handler.h (revision 39556)
+++ chrome/browser/message_box_handler.h (working copy)
@@ -15,6 +15,7 @@
class CookiePromptModalDialogDelegate;
class GURL;
+class HostContentSettingsMap;
class JavaScriptMessageBoxClient;
class TabContents;
@@ -46,6 +47,7 @@
// user to accept or reject the cookie. The caller should pass |delegate|
// that will handle the reply from the dialog.
void RunCookiePrompt(TabContents* tab_contents,
+ HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const std::string& cookie_line,
CookiePromptModalDialogDelegate* delegate);
@@ -55,6 +57,7 @@
// that will handle the reply from the dialog.
void RunLocalStoragePrompt(
TabContents* tab_contents,
+ HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const string16& key,
const string16& value,
@@ -65,6 +68,7 @@
// that will handle the reply from the dialog.
void RunDatabasePrompt(
TabContents* tab_contents,
+ HostContentSettingsMap* host_content_settings_map,
const GURL& origin,
const string16& database_name,
CookiePromptModalDialogDelegate* delegate);
« no previous file with comments | « chrome/browser/in_process_webkit/dom_storage_permission_request.cc ('k') | chrome/browser/message_box_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698