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

Unified Diff: net/quic/quic_protocol.cc

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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_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 56dfa97b999802b91f86b0c7b5bfa020ed43baa9..6ad07431e4bb36fae4c779e97900ef63b7970986 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -509,11 +509,9 @@ QuicPacket::QuicPacket(char* buffer,
bool owns_buffer,
QuicConnectionIdLength connection_id_length,
bool includes_version,
- QuicSequenceNumberLength sequence_number_length,
- bool is_fec_packet)
+ QuicSequenceNumberLength sequence_number_length)
: QuicData(buffer, length, owns_buffer),
buffer_(buffer),
- is_fec_packet_(is_fec_packet),
connection_id_length_(connection_id_length),
includes_version_(includes_version),
sequence_number_length_(sequence_number_length) {
@@ -632,14 +630,15 @@ void RetransmittableFrames::set_encryption_level(EncryptionLevel level) {
SerializedPacket::SerializedPacket(
QuicPacketSequenceNumber sequence_number,
QuicSequenceNumberLength sequence_number_length,
- QuicPacket* packet,
+ QuicEncryptedPacket* packet,
QuicPacketEntropyHash entropy_hash,
RetransmittableFrames* retransmittable_frames)
: sequence_number(sequence_number),
sequence_number_length(sequence_number_length),
packet(packet),
entropy_hash(entropy_hash),
- retransmittable_frames(retransmittable_frames) {
+ retransmittable_frames(retransmittable_frames),
+ is_fec_packet(false) {
}
SerializedPacket::~SerializedPacket() {}
« 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