diff options
author | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 18:04:45 +0000 |
---|---|---|
committer | xiyuan@chromium.org <xiyuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 18:04:45 +0000 |
commit | bc84caf312f803c92b7edd21cbfc4e9ed125c581 (patch) | |
tree | d6cdaf1d185afe2b4e1ff97d7f9cbe5ac6f25392 | |
parent | aea2ff4820fa0dc9d14a116ce5203b882a459ed7 (diff) | |
download | chromium_src-bc84caf312f803c92b7edd21cbfc4e9ed125c581.zip chromium_src-bc84caf312f803c92b7edd21cbfc4e9ed125c581.tar.gz chromium_src-bc84caf312f803c92b7edd21cbfc4e9ed125c581.tar.bz2 |
Clean up message_box_handler.h.
BUG=none.
TEST=All build bots should still be happy.
Review URL: http://codereview.chromium.org/3619001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61393 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/message_box_handler.h | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/chrome/browser/message_box_handler.h b/chrome/browser/message_box_handler.h index ea35df7..e6f08e5 100644 --- a/chrome/browser/message_box_handler.h +++ b/chrome/browser/message_box_handler.h @@ -8,16 +8,10 @@ #include <string> -#include "base/string16.h" -#include "chrome/browser/browsing_data_local_storage_helper.h" -#include "chrome/browser/js_modal_dialog.h" -#include "googleurl/src/gurl.h" #include "ipc/ipc_message.h" -#include "net/base/cookie_monster.h" -class CookiePromptModalDialogDelegate; class GURL; -class HostContentSettingsMap; +class JavaScriptAppModalDialogDelegate; class TabContents; class Profile; @@ -44,45 +38,4 @@ void RunBeforeUnloadDialog(TabContents* tab_contents, const std::wstring& message_text, IPC::Message* reply_msg); -// This will display a modal dialog box with cookie information asking -// 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); - -// This will display a modal dialog box with local storage information asking -// user to accept or reject it. The caller should pass |delegate| -// 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, - CookiePromptModalDialogDelegate* delegate); - -// This will display a modal dialog box with the database name on every open -// and ask the user to accept or reject it. The caller should pass |delegate| -// 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, - const string16& display_name, - unsigned long estimated_size, - CookiePromptModalDialogDelegate* delegate); - -// This will display a modal dialog box with the |manifest_url| and ask the -// user to accept or reject it. The caller should pass |delegate| that will -// handle the reply from the dialog. -void RunAppCachePrompt( - TabContents* tab_contents, - HostContentSettingsMap* host_content_settings_map, - const GURL& manifest_url, - CookiePromptModalDialogDelegate* delegate); - #endif // CHROME_BROWSER_MESSAGE_BOX_HANDLER_H_ |