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

Unified Diff: chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc

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/sync_file_system/drive_backend/metadata_database_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc b/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
index 814220b40b6b873a7ae2cc7ea3c3e1ca44f9861f..e0ea089755d21de1972c5c3fb239c088afbcdf80 100644
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
@@ -104,8 +104,8 @@ void ExpectEquivalent(const std::map<Key, Value>& left,
}
template <typename Key, typename Value>
-void ExpectEquivalent(const base::hash_map<Key, Value>& left,
- const base::hash_map<Key, Value>& right) {
+void ExpectEquivalent(const std::unordered_map<Key, Value>& left,
+ const std::unordered_map<Key, Value>& right) {
// Convert from a hash container to an ordered container for comparison.
ExpectEquivalentMaps(std::map<Key, Value>(left.begin(), left.end()),
std::map<Key, Value>(right.begin(), right.end()));
@@ -136,8 +136,8 @@ void ExpectEquivalent(const std::set<Value, Comparator>& left,
}
template <typename Value>
-void ExpectEquivalent(const base::hash_set<Value>& left,
- const base::hash_set<Value>& right) {
+void ExpectEquivalent(const std::unordered_set<Value>& left,
+ const std::unordered_set<Value>& right) {
// Convert from a hash container to an ordered container for comparison.
return ExpectEquivalentSets(std::set<Value>(left.begin(), left.end()),
std::set<Value>(right.begin(), right.end()));

Powered by Google App Engine
This is Rietveld 408576698