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

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

Issue 2829163004: Remove uses of base::hash_map from //chrome (Closed)
Patch Set: Downloads back Created 3 years, 6 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 2eaf5f40627f1b466475d36b904a64daf8c7c494..b19c7fa8b31c92acf6e20dbde41f63e88b50013a 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -12,7 +12,7 @@
#include <vector>
#include "base/compiler_specific.h"
-#include "base/containers/hash_tables.h"
+#include "base/containers/flat_map.h"
#include "base/gtest_prod_util.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
@@ -181,8 +181,9 @@ class ChromeDownloadManagerDelegate
#if BUILDFLAG(ENABLE_EXTENSIONS)
// Maps from pending extension installations to DownloadItem IDs.
- typedef base::hash_map<extensions::CrxInstaller*,
- content::DownloadOpenDelayedCallback> CrxInstallerMap;
+ typedef base::flat_map<extensions::CrxInstaller*,
+ content::DownloadOpenDelayedCallback>
+ CrxInstallerMap;
CrxInstallerMap crx_installers_;
#endif
« no previous file with comments | « chrome/browser/data_use_measurement/chrome_data_use_ascriber.h ('k') | chrome/browser/engagement/important_sites_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698