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

Unified Diff: chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.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
« no previous file with comments | « chrome/browser/pdf/pdf_extension_test.cc ('k') | chrome/browser/resources_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h
diff --git a/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h b/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h
index 025fceadef9e2063b81b7be688fdf9bb3086ef67..8c51eb6265356c0807e7d16a94cc871159782e61 100644
--- a/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h
+++ b/chrome/browser/resource_coordinator/tab_manager_delegate_chromeos.h
@@ -10,7 +10,7 @@
#include <utility>
#include <vector>
-#include "base/containers/hash_tables.h"
+#include "base/containers/flat_map.h"
#include "base/gtest_prod_util.h"
#include "base/logging.h"
#include "base/macros.h"
@@ -126,10 +126,10 @@ class TabManagerDelegate : public wm::ActivationChangeObserver,
typedef std::pair<int, base::ProcessHandle> ProcessInfo;
// Cache OOM scores in memory.
- typedef base::hash_map<base::ProcessHandle, int> ProcessScoreMap;
+ typedef base::flat_map<base::ProcessHandle, int> ProcessScoreMap;
// A map from an ARC process name to a monotonic timestamp when it's killed.
- typedef base::hash_map<std::string, base::TimeTicks> KilledArcProcessesMap;
+ typedef base::flat_map<std::string, base::TimeTicks> KilledArcProcessesMap;
// Get the list of candidates to kill, sorted by descending importance.
static std::vector<Candidate> GetSortedCandidates(
« no previous file with comments | « chrome/browser/pdf/pdf_extension_test.cc ('k') | chrome/browser/resources_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698