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

Unified Diff: net/disk_cache/memory/mem_backend_impl.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/memory/mem_backend_impl.h
diff --git a/net/disk_cache/memory/mem_backend_impl.h b/net/disk_cache/memory/mem_backend_impl.h
index 8abcca5b7a29e156b8f8c265050d073100a2c236..60c7dc5d92200472bd39e85b4e9d5a5db2d86fb3 100644
--- a/net/disk_cache/memory/mem_backend_impl.h
+++ b/net/disk_cache/memory/mem_backend_impl.h
@@ -10,9 +10,9 @@
#include <stdint.h>
#include <string>
+#include <unordered_map>
#include "base/compiler_specific.h"
-#include "base/containers/hash_tables.h"
#include "base/containers/linked_list.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
@@ -97,7 +97,7 @@ class NET_EXPORT_PRIVATE MemBackendImpl final : public Backend {
class MemIterator;
friend class MemIterator;
- typedef base::hash_map<std::string, MemEntryImpl*> EntryMap;
+ using EntryMap = std::unordered_map<std::string, MemEntryImpl*>;
// Deletes entries from the cache until the current size is below the limit.
void EvictIfNeeded();

Powered by Google App Engine
This is Rietveld 408576698