summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_installer_observer.cc
diff options
context:
space:
mode:
authorbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-10 13:20:36 +0000
committerbauerb@chromium.org <bauerb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-10 13:20:36 +0000
commit1a86f75dffd931514c1db92725c47e727682de5a (patch)
tree5e200670869a2825567c645fa865422c2193287c /chrome/browser/plugin_installer_observer.cc
parentac2d85013a3f8908cefc12fca0dcb40a526e6c39 (diff)
downloadchromium_src-1a86f75dffd931514c1db92725c47e727682de5a.zip
chromium_src-1a86f75dffd931514c1db92725c47e727682de5a.tar.gz
chromium_src-1a86f75dffd931514c1db92725c47e727682de5a.tar.bz2
Use regular download mechanism to download and open plug-in installer files.
As downloads can now be cancelled as well, add a DownloadCancelled callback to PluginInstallerObserver, and rename the others to be consistent in naming. BUG=110484 TEST=none Review URL: http://codereview.chromium.org/9370018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_installer_observer.cc')
-rw-r--r--chrome/browser/plugin_installer_observer.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/plugin_installer_observer.cc b/chrome/browser/plugin_installer_observer.cc
index 419f60e..32cba97 100644
--- a/chrome/browser/plugin_installer_observer.cc
+++ b/chrome/browser/plugin_installer_observer.cc
@@ -15,15 +15,18 @@ PluginInstallerObserver::~PluginInstallerObserver() {
installer_->RemoveObserver(this);
}
-void PluginInstallerObserver::DidStartDownload() {
+void PluginInstallerObserver::DownloadStarted() {
}
-void PluginInstallerObserver::DidFinishDownload() {
+void PluginInstallerObserver::DownloadFinished() {
}
void PluginInstallerObserver::DownloadError(const std::string& message) {
}
+void PluginInstallerObserver::DownloadCancelled() {
+}
+
WeakPluginInstallerObserver::WeakPluginInstallerObserver(
PluginInstaller* installer) : PluginInstallerObserver(installer) {
installer->AddWeakObserver(this);