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

Unified Diff: chrome/browser/message_box_handler.cc

Issue 3299020: Remove vestigial cookie/web app permissions prompting UI now that the async U... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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.cc
===================================================================
--- chrome/browser/message_box_handler.cc (revision 59533)
+++ chrome/browser/message_box_handler.cc (working copy)
@@ -12,9 +12,6 @@
#include "build/build_config.h"
#include "chrome/browser/app_modal_dialog_queue.h"
#include "chrome/browser/browser_process.h"
-#include "chrome/browser/browsing_data_local_storage_helper.h"
-#include "chrome/browser/cookie_modal_dialog.h"
-#include "chrome/browser/cookie_prompt_modal_dialog_delegate.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/js_modal_dialog.h"
#include "chrome/browser/profile.h"
@@ -93,49 +90,3 @@
MessageBoxFlags::kIsJavascriptConfirm, message_text, std::wstring(),
false, true, reply_msg));
}
-
-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, 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, 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,
- const string16& display_name,
- unsigned long estimated_size,
- CookiePromptModalDialogDelegate* delegate) {
- Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- origin, database_name, display_name,
- estimated_size, delegate));
-}
-
-void RunAppCachePrompt(
- TabContents* tab_contents,
- HostContentSettingsMap* host_content_settings_map,
- const GURL& manifest_url,
- CookiePromptModalDialogDelegate* delegate) {
- Singleton<AppModalDialogQueue>()->AddDialog(
- new CookiePromptModalDialog(tab_contents, host_content_settings_map,
- manifest_url, delegate));
-}

Powered by Google App Engine
This is Rietveld 408576698