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

Unified Diff: net/quic/quic_protocol.cc

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_protocol.h ('k') | net/quic/quic_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_protocol.cc
diff --git a/net/quic/quic_protocol.cc b/net/quic/quic_protocol.cc
index 98a8d3ba484f39f6faa528fa6bbd5a51ce013fc5..9b5655539cefde81b91e70ec7e28b6dad2021c6c 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -768,6 +768,7 @@ AckListenerWrapper::AckListenerWrapper(QuicAckListenerInterface* listener,
AckListenerWrapper::~AckListenerWrapper() {}
SerializedPacket::SerializedPacket(
+ QuicPathId path_id,
QuicPacketNumber packet_number,
QuicPacketNumberLength packet_number_length,
QuicEncryptedPacket* packet,
@@ -777,6 +778,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),
@@ -786,6 +788,7 @@ SerializedPacket::SerializedPacket(
has_stop_waiting(has_stop_waiting) {}
SerializedPacket::SerializedPacket(
+ QuicPathId path_id,
QuicPacketNumber packet_number,
QuicPacketNumberLength packet_number_length,
char* encrypted_buffer,
@@ -796,7 +799,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_received_packet_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698