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

Unified Diff: net/http/mock_http_cache.h

Issue 1897033002: Reland 'Convert //net and //chromecast to std::unordered_*' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix TestDownloadRequestHandler 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
« no previous file with comments | « net/http/http_transaction_test_util.cc ('k') | net/spdy/http2_write_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/mock_http_cache.h
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h
index 185c829af6aa48c8bbc657a3f94f63fecae40b0b..7cf03db4051170a08b6d579624f2669cdd623f73 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);
« no previous file with comments | « net/http/http_transaction_test_util.cc ('k') | net/spdy/http2_write_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698