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

Unified Diff: net/quic/quic_protocol.cc

Issue 515303003: Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix for 409191 Created 6 years, 3 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_entropy_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 314f0ff43b6d65c60400522b7d99ac9016c62d04..545d8ecf4e341b8fe50e4c2afa7d2b054fbaea0e 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -726,7 +726,6 @@ TransmissionInfo::TransmissionInfo()
TransmissionInfo::TransmissionInfo(
RetransmittableFrames* retransmittable_frames,
- QuicPacketSequenceNumber sequence_number,
QuicSequenceNumberLength sequence_number_length)
: retransmittable_frames(retransmittable_frames),
sequence_number_length(sequence_number_length),
@@ -734,17 +733,14 @@ TransmissionInfo::TransmissionInfo(
bytes_sent(0),
nack_count(0),
transmission_type(NOT_RETRANSMISSION),
- all_transmissions(new SequenceNumberSet),
- in_flight(false) {
- all_transmissions->insert(sequence_number);
-}
+ all_transmissions(NULL),
+ in_flight(false) {}
TransmissionInfo::TransmissionInfo(
RetransmittableFrames* retransmittable_frames,
- QuicPacketSequenceNumber sequence_number,
QuicSequenceNumberLength sequence_number_length,
TransmissionType transmission_type,
- SequenceNumberSet* all_transmissions)
+ SequenceNumberList* all_transmissions)
: retransmittable_frames(retransmittable_frames),
sequence_number_length(sequence_number_length),
sent_time(QuicTime::Zero()),
@@ -752,8 +748,6 @@ TransmissionInfo::TransmissionInfo(
nack_count(0),
transmission_type(transmission_type),
all_transmissions(all_transmissions),
- in_flight(false) {
- all_transmissions->insert(sequence_number);
-}
+ in_flight(false) {}
} // namespace net
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_entropy_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698