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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 1541263002: Landing Recent QUIC changes until 12/18/2015 13:57 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: replace -1 with 0xff for InvalidPathId Created 5 years 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_received_packet_manager.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.h
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h
index 2bddc4eaba7bb1bc85f17d846c06f8656f5c01df..24027a61f76da61f231f8242651079d6183160b2 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -77,17 +77,20 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
// Struct to store the pending retransmission information.
struct PendingRetransmission {
- PendingRetransmission(QuicPacketNumber packet_number,
+ PendingRetransmission(QuicPathId path_id,
+ QuicPacketNumber packet_number,
TransmissionType transmission_type,
const RetransmittableFrames& retransmittable_frames,
EncryptionLevel encryption_level,
QuicPacketNumberLength packet_number_length)
- : packet_number(packet_number),
+ : path_id(path_id),
+ packet_number(packet_number),
transmission_type(transmission_type),
retransmittable_frames(retransmittable_frames),
encryption_level(encryption_level),
packet_number_length(packet_number_length) {}
+ QuicPathId path_id;
QuicPacketNumber packet_number;
TransmissionType transmission_type;
const RetransmittableFrames& retransmittable_frames;
@@ -96,6 +99,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
};
QuicSentPacketManager(Perspective perspective,
+ QuicPathId path_id,
const QuicClock* clock,
QuicConnectionStats* stats,
CongestionControlType congestion_control_type,
@@ -356,6 +360,8 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
// Tracks if the connection was created by the server or the client.
Perspective perspective_;
+ QuicPathId path_id_;
+
const QuicClock* clock_;
QuicConnectionStats* stats_;
DebugDelegate* debug_delegate_;
« no previous file with comments | « net/quic/quic_received_packet_manager.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698