| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |