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

Unified Diff: net/http/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/dns/dns_hosts.h ('k') | net/http/http_response_headers.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index dd9eb7fd455aeceac2be3e163bf695d4089dcf97..1c9c8910fa815871e5bc62028f62e02c8e3045ea 100644
--- a/net/http/http_cache.h
+++ b/net/http/http_cache.h
@@ -17,8 +17,8 @@
#include <list>
#include <set>
#include <string>
-#include <unordered_map>
-
+
+#include "base/containers/hash_tables.h"
#include "base/files/file_path.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
@@ -261,10 +261,10 @@
bool doomed;
};
- using ActiveEntriesMap = std::unordered_map<std::string, ActiveEntry*>;
- using PendingOpsMap = std::unordered_map<std::string, PendingOp*>;
- using ActiveEntriesSet = std::set<ActiveEntry*>;
- using PlaybackCacheMap = std::unordered_map<std::string, int>;
+ typedef base::hash_map<std::string, ActiveEntry*> ActiveEntriesMap;
+ typedef base::hash_map<std::string, PendingOp*> PendingOpsMap;
+ typedef std::set<ActiveEntry*> ActiveEntriesSet;
+ typedef base::hash_map<std::string, int> PlaybackCacheMap;
// Methods ------------------------------------------------------------------
« no previous file with comments | « net/dns/dns_hosts.h ('k') | net/http/http_response_headers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698