summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/plugins
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 14:26:42 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-11 14:26:42 +0000
commit5d474ff6e09b20d734a6074cbca3477bebcf76a9 (patch)
tree7a934f99247a5dd6276084370996dba2ee402446 /chrome/renderer/plugins
parente4eec96d49686a9b90fc9c0dafc510af3a712726 (diff)
downloadchromium_src-5d474ff6e09b20d734a6074cbca3477bebcf76a9.zip
chromium_src-5d474ff6e09b20d734a6074cbca3477bebcf76a9.tar.gz
chromium_src-5d474ff6e09b20d734a6074cbca3477bebcf76a9.tar.bz2
Revert 117210 - Show error message when downloading a plug-in installer fails.
Also, don't try to directly download Flash Player from http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe anymore. TBR=arv@chromium.org BUG=62079 TEST=Go to http://www/~bauerb/no_crawl/test/install_plugin.html, turn off your network and click on "Get Plug-in". You should see an error. Review URL: http://codereview.chromium.org/9149004 TBR=bauerb@chromium.org Review URL: http://codereview.chromium.org/9190005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117214 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/plugins')
-rw-r--r--chrome/renderer/plugins/missing_plugin.cc7
-rw-r--r--chrome/renderer/plugins/missing_plugin.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/chrome/renderer/plugins/missing_plugin.cc b/chrome/renderer/plugins/missing_plugin.cc
index a297676..2484944 100644
--- a/chrome/renderer/plugins/missing_plugin.cc
+++ b/chrome/renderer/plugins/missing_plugin.cc
@@ -140,8 +140,6 @@ bool MissingPlugin::OnMessageReceived(const IPC::Message& message) {
OnStartedDownloadingPlugin)
IPC_MESSAGE_HANDLER(ChromeViewMsg_FinishedDownloadingPlugin,
OnFinishedDownloadingPlugin)
- IPC_MESSAGE_HANDLER(ChromeViewMsg_ErrorDownloadingPlugin,
- OnErrorDownloadingPlugin)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
@@ -164,11 +162,6 @@ void MissingPlugin::OnFinishedDownloadingPlugin() {
SetMessage(l10n_util::GetStringUTF16(IDS_PLUGIN_INSTALLING));
}
-void MissingPlugin::OnErrorDownloadingPlugin(const std::string& error) {
- SetMessage(l10n_util::GetStringFUTF16(IDS_PLUGIN_DOWNLOAD_ERROR,
- UTF8ToUTF16(error)));
-}
-
void MissingPlugin::PluginListChanged() {
ChromeViewHostMsg_GetPluginInfo_Status status;
webkit::WebPluginInfo plugin_info;
diff --git a/chrome/renderer/plugins/missing_plugin.h b/chrome/renderer/plugins/missing_plugin.h
index 4192b9e..93ee8be 100644
--- a/chrome/renderer/plugins/missing_plugin.h
+++ b/chrome/renderer/plugins/missing_plugin.h
@@ -51,7 +51,6 @@ class MissingPlugin : public PluginPlaceholder,
void OnDidNotFindMissingPlugin();
void OnStartedDownloadingPlugin();
void OnFinishedDownloadingPlugin();
- void OnErrorDownloadingPlugin(const std::string& error);
void SetMessage(const string16& message);
void UpdateMessage();