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

Unified Diff: net/quic/quic_framer.h

Issue 1660593004: Landing Recent QUIC changes until 01/28/2016 18:41 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0202
Patch Set: 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_frame_list.cc ('k') | net/quic/quic_multipath_received_packet_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_framer.h
diff --git a/net/quic/quic_framer.h b/net/quic/quic_framer.h
index a44f63173795c49bada00c5cbbf98d136a5c7bc1..aba0f978b267a26a975e97c033506b3d9915d620 100644
--- a/net/quic/quic_framer.h
+++ b/net/quic/quic_framer.h
@@ -9,6 +9,8 @@
#include <stdint.h>
#include <string>
+#include <unordered_map>
+#include <unordered_set>
#include <vector>
#include "base/logging.h"
@@ -523,10 +525,10 @@ class NET_EXPORT_PRIVATE QuicFramer {
// has been sent/received.
// TODO(fayang): this set is never cleaned up. A possible improvement is to
// use intervals.
- base::hash_set<QuicPathId> closed_paths_;
+ std::unordered_set<QuicPathId> closed_paths_;
// Map mapping path id to packet number of last successfully decrypted/revived
// received packet.
- base::hash_map<QuicPathId, QuicPacketNumber> last_packet_numbers_;
+ std::unordered_map<QuicPathId, QuicPacketNumber> last_packet_numbers_;
// Updated by ProcessPacketHeader when it succeeds.
QuicPacketNumber last_packet_number_;
// The path on which last successfully decrypted/revived packet was received.
« no previous file with comments | « net/quic/quic_frame_list.cc ('k') | net/quic/quic_multipath_received_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698