Index: net/quic/congestion_control/send_algorithm_interface.h |
diff --git a/net/quic/congestion_control/send_algorithm_interface.h b/net/quic/congestion_control/send_algorithm_interface.h |
index 95843d19d56c0e2c33c25ea8609525ab23d1d963..effa671dfbcc7823f862fe3c5cc00302920812b8 100644 |
--- a/net/quic/congestion_control/send_algorithm_interface.h |
+++ b/net/quic/congestion_control/send_algorithm_interface.h |
@@ -58,16 +58,23 @@ class NET_EXPORT_PRIVATE SendAlgorithmInterface { |
virtual void SentPacket(QuicTime sent_time, |
QuicPacketSequenceNumber sequence_number, |
QuicByteCount bytes, |
- bool is_retransmission, |
- bool has_retransmittable_data) = 0; |
+ bool is_retransmission) = 0; |
+ |
+ // Called when a packet is timed out. |
+ virtual void AbandoningPacket(QuicPacketSequenceNumber sequence_number, |
+ QuicByteCount abandoned_bytes) = 0; |
// Calculate the time until we can send the next packet. |
virtual QuicTime::Delta TimeUntilSend(QuicTime now, |
- bool is_retransmission) = 0; |
+ bool is_retransmission, |
+ bool has_retransmittable_data) = 0; |
// What's the current estimated bandwidth in bytes per second. |
// Returns 0 when it does not have an estimate. |
virtual QuicBandwidth BandwidthEstimate() = 0; |
+ |
+ // TODO(satyamshekhar): Monitor MinRtt. |
+ virtual QuicTime::Delta SmoothedRtt() = 0; |
}; |
} // namespace net |