| Index: chrome/browser/extensions/webstore_installer.cc
|
| diff --git a/chrome/browser/extensions/webstore_installer.cc b/chrome/browser/extensions/webstore_installer.cc
|
| index 5a15ea5b9f835323351b73b7e71faf4d7c626ea2..f6427453ae75102c57890db977b40e009e1d2ce8 100644
|
| --- a/chrome/browser/extensions/webstore_installer.cc
|
| +++ b/chrome/browser/extensions/webstore_installer.cc
|
| @@ -14,7 +14,7 @@
|
| #include "base/stringprintf.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/browser_process.h"
|
| -#include "chrome/browser/download/chrome_download_manager_delegate.h"
|
| +#include "chrome/browser/download/download_crx_util.h"
|
| #include "chrome/browser/download/download_prefs.h"
|
| #include "chrome/browser/download/download_util.h"
|
| #include "chrome/browser/extensions/crx_installer.h"
|
| @@ -287,7 +287,7 @@ void WebstoreInstaller::OnDownloadUpdated(DownloadItem* download) {
|
| break;
|
| case DownloadItem::COMPLETE:
|
| // Wait for other notifications if the download is really an extension.
|
| - if (!ChromeDownloadManagerDelegate::IsExtensionDownload(download))
|
| + if (!download_crx_util::IsExtensionDownload(*download))
|
| ReportFailure(kInvalidDownloadError);
|
| break;
|
| default:
|
|
|