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

Unified Diff: net/quic/quic_protocol.cc

Issue 1401053005: relnote: Reduce the size of QUIC's TransmissionInfo struct based on (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_test_cases_to_catch_failure_104130818
Patch Set: Created 5 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_unacked_packet_map.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 e2556c9677ac3b5445d784fd952f06654e0575bd..41fdf0373f2ec54aecf69921e00a640df1dbdcea 100644
--- a/net/quic/quic_protocol.cc
+++ b/net/quic/quic_protocol.cc
@@ -896,31 +896,31 @@ ostream& operator<<(ostream& os, const QuicEncryptedPacket& s) {
TransmissionInfo::TransmissionInfo()
: retransmittable_frames(nullptr),
packet_number_length(PACKET_1BYTE_PACKET_NUMBER),
- sent_time(QuicTime::Zero()),
bytes_sent(0),
nack_count(0),
+ sent_time(QuicTime::Zero()),
transmission_type(NOT_RETRANSMISSION),
- all_transmissions(nullptr),
in_flight(false),
is_unackable(false),
- is_fec_packet(false) {}
+ is_fec_packet(false),
+ all_transmissions(nullptr) {}
TransmissionInfo::TransmissionInfo(
RetransmittableFrames* retransmittable_frames,
QuicPacketNumberLength packet_number_length,
TransmissionType transmission_type,
QuicTime sent_time,
- QuicByteCount bytes_sent,
+ QuicPacketLength bytes_sent,
bool is_fec_packet)
: retransmittable_frames(retransmittable_frames),
packet_number_length(packet_number_length),
- sent_time(sent_time),
bytes_sent(bytes_sent),
nack_count(0),
+ sent_time(sent_time),
transmission_type(transmission_type),
- all_transmissions(nullptr),
in_flight(false),
is_unackable(false),
- is_fec_packet(is_fec_packet) {}
+ is_fec_packet(is_fec_packet),
+ all_transmissions(nullptr) {}
} // namespace net
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_unacked_packet_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698