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

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

Issue 612323010: Align base::hash_map with C++11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try a different tack for C++ insanity Created 6 years, 2 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 ff89300e398a45b02c4f07b1645a180c5c14673c..21b3f93fe4537a5ba7253bb0b14b55351966452f 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -34,17 +34,6 @@ namespace user_prefs {
class PrefRegistrySyncable;
}
-#if defined(COMPILER_GCC) && defined(ENABLE_EXTENSIONS)
-namespace BASE_HASH_NAMESPACE {
-template<>
-struct hash<extensions::CrxInstaller*> {
- std::size_t operator()(extensions::CrxInstaller* const& p) const {
- return reinterpret_cast<std::size_t>(p);
- }
-};
-} // namespace BASE_HASH_NAMESPACE
-#endif
-
// This is the Chrome side helper for the download system.
class ChromeDownloadManagerDelegate
: public content::DownloadManagerDelegate,

Powered by Google App Engine
This is Rietveld 408576698