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

Unified Diff: net/quic/quic_protocol.cc

Issue 523813003: Revert of Landing Recent QUIC Changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 545d8ecf4e341b8fe50e4c2afa7d2b054fbaea0e..314f0ff43b6d65c60400522b7d99ac9016c62d04 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -726,6 +726,7 @@
TransmissionInfo::TransmissionInfo(
RetransmittableFrames* retransmittable_frames,
+ QuicPacketSequenceNumber sequence_number,
QuicSequenceNumberLength sequence_number_length)
: retransmittable_frames(retransmittable_frames),
sequence_number_length(sequence_number_length),
@@ -733,14 +734,17 @@
bytes_sent(0),
nack_count(0),
transmission_type(NOT_RETRANSMISSION),
- all_transmissions(NULL),
- in_flight(false) {}
+ all_transmissions(new SequenceNumberSet),
+ in_flight(false) {
+ all_transmissions->insert(sequence_number);
+}
TransmissionInfo::TransmissionInfo(
RetransmittableFrames* retransmittable_frames,
+ QuicPacketSequenceNumber sequence_number,
QuicSequenceNumberLength sequence_number_length,
TransmissionType transmission_type,
- SequenceNumberList* all_transmissions)
+ SequenceNumberSet* all_transmissions)
: retransmittable_frames(retransmittable_frames),
sequence_number_length(sequence_number_length),
sent_time(QuicTime::Zero()),
@@ -748,6 +752,8 @@
nack_count(0),
transmission_type(transmission_type),
all_transmissions(all_transmissions),
- in_flight(false) {}
+ in_flight(false) {
+ all_transmissions->insert(sequence_number);
+}
} // 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