| Index: chrome/browser/plugin_installer.cc
|
| ===================================================================
|
| --- chrome/browser/plugin_installer.cc (revision 150095)
|
| +++ chrome/browser/plugin_installer.cc (working copy)
|
| @@ -150,6 +150,11 @@
|
| DownloadCancelled();
|
| break;
|
| }
|
| + case DownloadItem::REMOVING: {
|
| + DCHECK_EQ(INSTALLER_STATE_DOWNLOADING, state_);
|
| + state_ = INSTALLER_STATE_IDLE;
|
| + break;
|
| + }
|
| case DownloadItem::INTERRUPTED: {
|
| content::DownloadInterruptReason reason = download->GetLastReason();
|
| DownloadError(content::InterruptReasonDebugString(reason));
|
| @@ -163,10 +168,7 @@
|
| download->RemoveObserver(this);
|
| }
|
|
|
| -void PluginInstaller::OnDownloadDestroyed(DownloadItem* download) {
|
| - DCHECK_EQ(INSTALLER_STATE_DOWNLOADING, state_);
|
| - state_ = INSTALLER_STATE_IDLE;
|
| - download->RemoveObserver(this);
|
| +void PluginInstaller::OnDownloadOpened(DownloadItem* download) {
|
| }
|
|
|
| void PluginInstaller::AddObserver(PluginInstallerObserver* observer) {
|
|
|