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

Unified Diff: net/disk_cache/blockfile/backend_impl_v3.h

Issue 1869503003: Convert //net and //chromecast to std::unordered_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast Created 4 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: net/disk_cache/blockfile/backend_impl_v3.h
diff --git a/net/disk_cache/blockfile/backend_impl_v3.h b/net/disk_cache/blockfile/backend_impl_v3.h
index df51c2137afd9b10f3b8735026b25523e4e0983b..d4ab00aee61465a3f1ad8b53229551f64d2b4f78 100644
--- a/net/disk_cache/blockfile/backend_impl_v3.h
+++ b/net/disk_cache/blockfile/backend_impl_v3.h
@@ -9,7 +9,8 @@
#include <stdint.h>
-#include "base/containers/hash_tables.h"
+#include <unordered_map>
+
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
@@ -198,7 +199,7 @@ class NET_EXPORT_PRIVATE BackendImplV3 : public Backend {
private:
friend class EvictionV3;
- typedef base::hash_map<CacheAddr, EntryImplV3*> EntriesMap;
+ using EntriesMap = std::unordered_map<CacheAddr, EntryImplV3*>;
class IteratorImpl;
class NotImplementedIterator;
class Worker;

Powered by Google App Engine
This is Rietveld 408576698