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

Unified Diff: net/quic/quic_protocol.cc

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 d0401671a842647572264edf6371b4a07ab5fed5..5aa831e48c1be97ca502580a3b844cd835109544 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -708,29 +708,16 @@ TransmissionInfo::TransmissionInfo()
TransmissionInfo::TransmissionInfo(
RetransmittableFrames* retransmittable_frames,
- QuicSequenceNumberLength sequence_number_length)
- : retransmittable_frames(retransmittable_frames),
- sequence_number_length(sequence_number_length),
- sent_time(QuicTime::Zero()),
- bytes_sent(0),
- nack_count(0),
- transmission_type(NOT_RETRANSMISSION),
- all_transmissions(nullptr),
- in_flight(false),
- is_unackable(false) {}
-
-TransmissionInfo::TransmissionInfo(
- RetransmittableFrames* retransmittable_frames,
QuicSequenceNumberLength sequence_number_length,
TransmissionType transmission_type,
- SequenceNumberList* all_transmissions)
+ QuicTime sent_time)
: retransmittable_frames(retransmittable_frames),
sequence_number_length(sequence_number_length),
- sent_time(QuicTime::Zero()),
+ sent_time(sent_time),
bytes_sent(0),
nack_count(0),
transmission_type(transmission_type),
- all_transmissions(all_transmissions),
+ all_transmissions(nullptr),
in_flight(false),
is_unackable(false) {}
« 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