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

Unified Diff: net/quic/quic_packet_creator.h

Issue 1663703003: use std::unordered_map and std::unordered_set in QUIC code instead of (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113259990
Patch Set: rebase Created 4 years, 11 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/quic/quic_multipath_transmissions_map_test.cc ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_packet_creator.h
diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h
index a3c30e786e92fca71711d59e4c3831b02a8bec00..32ca2bc63211e8e1ea0303f69461230dae9ea000 100644
--- a/net/quic/quic_packet_creator.h
+++ b/net/quic/quic_packet_creator.h
@@ -14,6 +14,7 @@
#include <stddef.h>
#include <string>
+#include <unordered_map>
#include <utility>
#include <vector>
@@ -389,7 +390,7 @@ class NET_EXPORT_PRIVATE QuicPacketCreator {
SerializedPacket packet_;
// Map mapping path_id to last sent packet number on the path.
- hash_map<QuicPathId, QuicPacketNumber> multipath_packet_number_;
+ std::unordered_map<QuicPathId, QuicPacketNumber> multipath_packet_number_;
// FEC related fields.
// True when creator is requested to turn on FEC protection. False otherwise.
« no previous file with comments | « net/quic/quic_multipath_transmissions_map_test.cc ('k') | net/quic/quic_packet_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698