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

Unified Diff: net/http/mock_http_cache.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/http/mock_http_cache.h
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h
index 86b8e51d758a7945aa20d73245281c3a1cbe72e1..971b092bce1f68ced1914441b3c9aeb901099a86 100644
--- a/net/http/mock_http_cache.h
+++ b/net/http/mock_http_cache.h
@@ -12,7 +12,8 @@
#include <stdint.h>
-#include "base/containers/hash_tables.h"
+#include <unordered_map>
+
#include "base/strings/string_split.h"
#include "net/disk_cache/disk_cache.h"
#include "net/http/http_cache.h"
@@ -155,7 +156,7 @@ class MockDiskCache : public disk_cache::Backend {
void ReleaseAll();
private:
- typedef base::hash_map<std::string, MockDiskEntry*> EntryMap;
+ using EntryMap = std::unordered_map<std::string, MockDiskEntry*>;
class NotImplementedIterator;
void CallbackLater(const CompletionCallback& callback, int result);

Powered by Google App Engine
This is Rietveld 408576698