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

Unified Diff: components/leveldb_proto/testing/fake_db.h

Issue 2830093003: Replace uses of hash_map in //base (Closed)
Patch Set: iOS Created 3 years, 8 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: components/leveldb_proto/testing/fake_db.h
diff --git a/components/leveldb_proto/testing/fake_db.h b/components/leveldb_proto/testing/fake_db.h
index 7a5e5dd49010621c430dad2afce2abced526352f..2eaf5f89d9cb1b691884bcba9ef758de2d81eb7b 100644
--- a/components/leveldb_proto/testing/fake_db.h
+++ b/components/leveldb_proto/testing/fake_db.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_LEVELDB_PROTO_TESTING_FAKE_DB_H_
#define COMPONENTS_LEVELDB_PROTO_TESTING_FAKE_DB_H_
+#include <map>
#include <memory>
#include <string>
#include <utility>
@@ -23,7 +24,7 @@ class FakeDB : public ProtoDatabase<T> {
using Callback = base::Callback<void(bool)>;
public:
- using EntryMap = typename base::hash_map<std::string, T>;
+ using EntryMap = std::map<std::string, T>;
explicit FakeDB(EntryMap* db);
~FakeDB() override;

Powered by Google App Engine
This is Rietveld 408576698