Index: chrome/browser/download/chrome_download_manager_delegate.h |
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h |
index bec1cc974f01f50854f25d1109f98ded4ec30dfd..3648e92cfa90381f7fcd7211bbb16b8097a8769c 100644 |
--- a/chrome/browser/download/chrome_download_manager_delegate.h |
+++ b/chrome/browser/download/chrome_download_manager_delegate.h |
@@ -19,7 +19,6 @@ |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
-class CrxInstaller; |
class DownloadHistory; |
class DownloadPrefs; |
class ExtensionDownloadsEventRouter; |
@@ -29,11 +28,15 @@ namespace content { |
class DownloadManager; |
} |
+namespace extensions { |
+class CrxInstaller; |
+} |
+ |
#if defined(COMPILER_GCC) |
namespace BASE_HASH_NAMESPACE { |
template<> |
-struct hash<CrxInstaller*> { |
- std::size_t operator()(CrxInstaller* const& p) const { |
+struct hash<extensions::CrxInstaller*> { |
+ std::size_t operator()(extensions::CrxInstaller* const& p) const { |
return reinterpret_cast<std::size_t>(p); |
} |
}; |
@@ -199,7 +202,7 @@ class ChromeDownloadManagerDelegate |
scoped_ptr<DownloadHistory> download_history_; |
// Maps from pending extension installations to DownloadItem IDs. |
- typedef base::hash_map<CrxInstaller*, int> CrxInstallerMap; |
+ typedef base::hash_map<extensions::CrxInstaller*, int> CrxInstallerMap; |
CrxInstallerMap crx_installers_; |
content::NotificationRegistrar registrar_; |