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

Unified Diff: net/quic/quic_protocol.cc

Issue 1542123002: Add path_id to SerializedPacket. No functional change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@110310127
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_protocol.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_protocol.cc
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
index 7a029f7a4f5704717955b20d854d3ce5f030f6d8..897478190b77122865667aac5749ba32b2246a6c 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -788,6 +788,7 @@ AckListenerWrapper::AckListenerWrapper(QuicAckListenerInterface* listener,
AckListenerWrapper::~AckListenerWrapper() {}
SerializedPacket::SerializedPacket(
+ QuicPathId path_id,
QuicPacketNumber packet_number,
QuicPacketNumberLength packet_number_length,
QuicEncryptedPacket* packet,
@@ -797,6 +798,7 @@ SerializedPacket::SerializedPacket(
bool has_stop_waiting)
: packet(packet),
retransmittable_frames(retransmittable_frames),
+ path_id(path_id),
packet_number(packet_number),
packet_number_length(packet_number_length),
encryption_level(ENCRYPTION_NONE),
@@ -806,6 +808,7 @@ SerializedPacket::SerializedPacket(
has_stop_waiting(has_stop_waiting) {}
SerializedPacket::SerializedPacket(
+ QuicPathId path_id,
QuicPacketNumber packet_number,
QuicPacketNumberLength packet_number_length,
char* encrypted_buffer,
@@ -816,7 +819,8 @@ SerializedPacket::SerializedPacket(
bool has_ack,
bool has_stop_waiting,
EncryptionLevel level)
- : SerializedPacket(packet_number,
+ : SerializedPacket(path_id,
+ packet_number,
packet_number_length,
new QuicEncryptedPacket(encrypted_buffer,
encrypted_length,
« no previous file with comments | « net/quic/quic_protocol.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