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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 1542773004: Add path_id to QuicSentPacketManager and QuicSentPacketManager::PendingRetransmission. No functiona… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@110467090
Patch Set: 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_sent_packet_manager.h ('k') | net/quic/quic_sent_packet_manager_test.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.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index a3176cced5e637e73c72fffdf40f6e641c824051..328997f46856f260ad98123d0272f084b22fea15 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -63,12 +63,14 @@ bool HasCryptoHandshake(const TransmissionInfo& transmission_info) {
QuicSentPacketManager::QuicSentPacketManager(
Perspective perspective,
+ QuicPathId path_id,
const QuicClock* clock,
QuicConnectionStats* stats,
CongestionControlType congestion_control_type,
LossDetectionType loss_type)
: unacked_packets_(),
perspective_(perspective),
+ path_id_(path_id),
clock_(clock),
stats_(stats),
debug_delegate_(nullptr),
@@ -463,7 +465,7 @@ QuicSentPacketManager::PendingRetransmission
unacked_packets_.GetTransmissionInfo(packet_number);
DCHECK(transmission_info.retransmittable_frames);
- return PendingRetransmission(packet_number, transmission_type,
+ return PendingRetransmission(path_id_, packet_number, transmission_type,
*transmission_info.retransmittable_frames,
transmission_info.encryption_level,
transmission_info.packet_number_length);
« no previous file with comments | « net/quic/quic_sent_packet_manager.h ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698