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

Unified Diff: net/quic/quic_sent_packet_manager.h

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_connection.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 f0d990f702d7a4bb041f322825763cb933c5c606..b9580f7afa2d8f04da72d032ef8eccb8854ac214 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -74,17 +74,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;
@@ -93,6 +96,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
};
QuicSentPacketManager(Perspective perspective,
+ QuicPathId path_id,
const QuicClock* clock,
QuicConnectionStats* stats,
CongestionControlType congestion_control_type,
@@ -358,6 +362,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_connection.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698