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

Unified Diff: net/spdy/write_blocked_list.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/spdy/http2_write_scheduler.h ('k') | net/tools/balsa/balsa_headers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/write_blocked_list.h
diff --git a/net/spdy/write_blocked_list.h b/net/spdy/write_blocked_list.h
index 76d22da257a577b3dd371aa7668e6a7094c96c56..cb5599760eb8bfc85c7573f919cf86b61bd0ae7a 100644
--- a/net/spdy/write_blocked_list.h
+++ b/net/spdy/write_blocked_list.h
@@ -9,8 +9,8 @@
#include <algorithm>
#include <deque>
+#include <unordered_map>
-#include "base/containers/hash_tables.h"
#include "base/logging.h"
#include "net/spdy/spdy_protocol.h"
@@ -151,7 +151,7 @@ class WriteBlockedList {
private:
friend class net::test::WriteBlockedListPeer;
- typedef base::hash_map<IdType, SpdyPriority> StreamToPriorityMap;
+ using StreamToPriorityMap = std::unordered_map<IdType, SpdyPriority>;
void AddStream(IdType stream_id, SpdyPriority priority, bool push_back) {
priority = ClampPriority(priority);
« no previous file with comments | « net/spdy/http2_write_scheduler.h ('k') | net/tools/balsa/balsa_headers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698