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

Unified Diff: net/quic/quic_protocol.cc

Issue 1918953003: Landing Recent QUIC changes until 4/22/2016 14:55 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Deleted SpdyFramerTests missed while mergeing 120451808 Created 4 years, 8 months 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.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 fc1e837725602a1886687f9ce9b7d78d8ada62c6..2a64fd392f876f9554d517c95ebe84b8280dc2bf 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -779,7 +779,7 @@ SerializedPacket::SerializedPacket(QuicPathId path_id,
: encrypted_buffer(encrypted_buffer),
encrypted_length(encrypted_length),
has_crypto_handshake(NOT_HANDSHAKE),
- needs_padding(false),
+ num_padding_bytes(0),
path_id(path_id),
packet_number(packet_number),
packet_number_length(packet_number_length),
@@ -804,7 +804,7 @@ TransmissionInfo::TransmissionInfo()
in_flight(false),
is_unackable(false),
has_crypto_handshake(false),
- needs_padding(false),
+ num_padding_bytes(0),
retransmission(0) {}
TransmissionInfo::TransmissionInfo(EncryptionLevel level,
@@ -813,7 +813,7 @@ TransmissionInfo::TransmissionInfo(EncryptionLevel level,
QuicTime sent_time,
QuicPacketLength bytes_sent,
bool has_crypto_handshake,
- bool needs_padding)
+ int num_padding_bytes)
: encryption_level(level),
packet_number_length(packet_number_length),
bytes_sent(bytes_sent),
@@ -823,7 +823,7 @@ TransmissionInfo::TransmissionInfo(EncryptionLevel level,
in_flight(false),
is_unackable(false),
has_crypto_handshake(has_crypto_handshake),
- needs_padding(needs_padding),
+ num_padding_bytes(num_padding_bytes),
retransmission(0) {}
TransmissionInfo::TransmissionInfo(const TransmissionInfo& other) = default;
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698