Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.h

Issue 10683003: Moved CrxInstaller and CrxInstallerError into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest-er master Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 488944c7ab961745bb4787fbee713af28f2181fa..ab2b2ccc7fbc62c55370b8ff1a46db930fec931e 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -18,7 +18,6 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
-class CrxInstaller;
class DownloadHistory;
class DownloadPrefs;
class ExtensionDownloadsEventRouter;
@@ -28,11 +27,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);
}
};
@@ -198,7 +201,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_;
« no previous file with comments | « chrome/browser/component_updater/component_unpacker.cc ('k') | chrome/browser/download/chrome_download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698