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

Side by Side Diff: net/quic/quic_sent_packet_manager.h

Issue 572703003: Minor change to QUIC's retransmission to not link old retransmissions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@merge_75263809
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 QuicPacketSequenceNumber new_sequence_number); 126 QuicPacketSequenceNumber new_sequence_number);
127 127
128 // Processes the incoming ack. 128 // Processes the incoming ack.
129 void OnIncomingAck(const QuicAckFrame& ack_frame, 129 void OnIncomingAck(const QuicAckFrame& ack_frame,
130 QuicTime ack_receive_time); 130 QuicTime ack_receive_time);
131 131
132 // Returns true if the non-FEC packet |sequence_number| is unacked. 132 // Returns true if the non-FEC packet |sequence_number| is unacked.
133 bool IsUnacked(QuicPacketSequenceNumber sequence_number) const; 133 bool IsUnacked(QuicPacketSequenceNumber sequence_number) const;
134 134
135 // Requests retransmission of all unacked packets of |retransmission_type|. 135 // Requests retransmission of all unacked packets of |retransmission_type|.
136 void RetransmitUnackedPackets(RetransmissionType retransmission_type); 136 void RetransmitUnackedPackets(TransmissionType retransmission_type);
137 137
138 // Retransmits the oldest pending packet there is still a tail loss probe 138 // Retransmits the oldest pending packet there is still a tail loss probe
139 // pending. Invoked after OnRetransmissionTimeout. 139 // pending. Invoked after OnRetransmissionTimeout.
140 bool MaybeRetransmitTailLossProbe(); 140 bool MaybeRetransmitTailLossProbe();
141 141
142 // Removes the retransmittable frames from all unencrypted packets to ensure 142 // Removes the retransmittable frames from all unencrypted packets to ensure
143 // they don't get retransmitted. 143 // they don't get retransmitted.
144 void NeuterUnencryptedPackets(); 144 void NeuterUnencryptedPackets();
145 145
146 // Returns true if the unacked packet |sequence_number| has retransmittable 146 // Returns true if the unacked packet |sequence_number| has retransmittable
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // Records bandwidth from server to client in normal operation, over periods 390 // Records bandwidth from server to client in normal operation, over periods
391 // of time with no loss events. 391 // of time with no loss events.
392 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 392 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
393 393
394 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 394 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
395 }; 395 };
396 396
397 } // namespace net 397 } // namespace net
398 398
399 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 399 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698