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

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

Issue 2179713004: Deprecate FLAGS_quic_always_write_queued_retransmissions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@128171703
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_multipath_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 #ifndef NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_ 1 #ifndef NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_
2 #define NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_ 2 #define NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_
3 3
4 #include <vector> 4 #include <vector>
5 5
6 #include "net/base/net_export.h" 6 #include "net/base/net_export.h"
7 #include "net/quic/quic_protocol.h" 7 #include "net/quic/quic_protocol.h"
8 #include "net/quic/quic_sent_packet_manager.h" 8 #include "net/quic/quic_sent_packet_manager.h"
9 #include "net/quic/quic_sent_packet_manager_interface.h" 9 #include "net/quic/quic_sent_packet_manager_interface.h"
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // Sets max pacing rate of the default path. 46 // Sets max pacing rate of the default path.
47 void SetMaxPacingRate(QuicBandwidth max_pacing_rate) override; 47 void SetMaxPacingRate(QuicBandwidth max_pacing_rate) override;
48 48
49 void SetHandshakeConfirmed() override; 49 void SetHandshakeConfirmed() override;
50 50
51 // Directs |ack_frame| to the appropriate path sent packet manager. 51 // Directs |ack_frame| to the appropriate path sent packet manager.
52 void OnIncomingAck(const QuicAckFrame& ack_frame, 52 void OnIncomingAck(const QuicAckFrame& ack_frame,
53 QuicTime ack_receive_time) override; 53 QuicTime ack_receive_time) override;
54 54
55 // Returns true if |packet_number| is unacked on path with |path_id|.
56 bool IsUnacked(QuicPathId path_id,
57 QuicPacketNumber packet_number) const override;
58
59 // Returns true if |packet_number| on |path_id| is unacked and has
60 // retransmittable frames.
61 bool HasRetransmittableFrames(QuicPathId path_id,
62 QuicPacketNumber packet_number) const override;
63
64 // Requests retransmission of all unacked packets of |retransmission_type| on 55 // Requests retransmission of all unacked packets of |retransmission_type| on
65 // the default path. 56 // the default path.
66 void RetransmitUnackedPackets(TransmissionType retransmission_type) override; 57 void RetransmitUnackedPackets(TransmissionType retransmission_type) override;
67 58
68 // Tries to retransmit the oldest pending packet across all paths. The 59 // Tries to retransmit the oldest pending packet across all paths. The
69 // retransmission is sent on the path that has a TLP timer pending. 60 // retransmission is sent on the path that has a TLP timer pending.
70 bool MaybeRetransmitTailLossProbe() override; 61 bool MaybeRetransmitTailLossProbe() override;
71 62
72 // Removes the retransmittable frames from all unencrypted packets on the 63 // Removes the retransmittable frames from all unencrypted packets on the
73 // default path to ensure they don't get retransmitted. 64 // default path to ensure they don't get retransmitted.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 205
215 // Does not own this delegate. 206 // Does not own this delegate.
216 QuicConnectionCloseDelegateInterface* delegate_; 207 QuicConnectionCloseDelegateInterface* delegate_;
217 208
218 DISALLOW_COPY_AND_ASSIGN(QuicMultipathSentPacketManager); 209 DISALLOW_COPY_AND_ASSIGN(QuicMultipathSentPacketManager);
219 }; 210 };
220 211
221 } // namespace net 212 } // namespace net
222 213
223 #endif // NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_ 214 #endif // NET_QUIC_QUIC_MULTIPATH_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_flags.cc ('k') | net/quic/quic_multipath_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698