Index: chrome/browser/download/chrome_download_manager_delegate.cc |
diff --git a/chrome/browser/download/chrome_download_manager_delegate.cc b/chrome/browser/download/chrome_download_manager_delegate.cc |
index 9a7f18ee80c9b598105018017b320f4f160acfd5..e1cca253da346966dae5e2eaa73713c114020a28 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.cc |
+++ b/chrome/browser/download/chrome_download_manager_delegate.cc |
@@ -311,16 +311,17 @@ bool ChromeDownloadManagerDelegate::ShouldCompleteDownload( |
bool ChromeDownloadManagerDelegate::ShouldOpenDownload(DownloadItem* item) { |
if (download_crx_util::IsExtensionDownload(*item)) { |
- scoped_refptr<CrxInstaller> crx_installer = |
+ scoped_refptr<extensions::CrxInstaller> crx_installer = |
download_crx_util::OpenChromeExtension(profile_, *item); |
// CRX_INSTALLER_DONE will fire when the install completes. Observe() |
// will call DelayedDownloadOpened() on this item. If this DownloadItem |
// is not around when CRX_INSTALLER_DONE fires, Complete() will not be |
// called. |
- registrar_.Add(this, |
- chrome::NOTIFICATION_CRX_INSTALLER_DONE, |
- content::Source<CrxInstaller>(crx_installer.get())); |
+ registrar_.Add( |
+ this, |
+ chrome::NOTIFICATION_CRX_INSTALLER_DONE, |
+ content::Source<extensions::CrxInstaller>(crx_installer.get())); |
crx_installers_[crx_installer.get()] = item->GetId(); |
// The status text and percent complete indicator will change now |
@@ -602,8 +603,8 @@ void ChromeDownloadManagerDelegate::Observe( |
chrome::NOTIFICATION_CRX_INSTALLER_DONE, |
source); |
- scoped_refptr<CrxInstaller> installer = |
- content::Source<CrxInstaller>(source).ptr(); |
+ scoped_refptr<extensions::CrxInstaller> installer = |
+ content::Source<extensions::CrxInstaller>(source).ptr(); |
int download_id = crx_installers_[installer]; |
crx_installers_.erase(installer.get()); |