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

Unified Diff: net/http/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/http_cache.h
diff --git a/net/http/http_cache.h b/net/http/http_cache.h
index 1c9c8910fa815871e5bc62028f62e02c8e3045ea..dd9eb7fd455aeceac2be3e163bf695d4089dcf97 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 @@ class NET_EXPORT HttpCache : public HttpTransactionFactory,
bool doomed;
};
- 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;
+ 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>;
// Methods ------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698