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

Unified Diff: net/http/mock_http_cache.h

Issue 1884453002: Revert of Convert //net and //chromecast to std::unordered_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 971b092bce1f68ced1914441b3c9aeb901099a86..86b8e51d758a7945aa20d73245281c3a1cbe72e1 100644
--- a/net/http/mock_http_cache.h
+++ b/net/http/mock_http_cache.h
@@ -12,8 +12,7 @@
#include <stdint.h>
-#include <unordered_map>
-
+#include "base/containers/hash_tables.h"
#include "base/strings/string_split.h"
#include "net/disk_cache/disk_cache.h"
#include "net/http/http_cache.h"
@@ -156,7 +155,7 @@
void ReleaseAll();
private:
- using EntryMap = std::unordered_map<std::string, MockDiskEntry*>;
+ typedef base::hash_map<std::string, MockDiskEntry*> EntryMap;
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