Index: net/quic/quic_sent_packet_manager.h |
diff --git a/net/quic/quic_sent_packet_manager.h b/net/quic/quic_sent_packet_manager.h |
index 96891cba16b634493c726cea33ee284227d723db..287b5fc44ad30ed608224782d85b194773636c71 100644 |
--- a/net/quic/quic_sent_packet_manager.h |
+++ b/net/quic/quic_sent_packet_manager.h |
@@ -69,7 +69,10 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager { |
// Called when congestion window may have changed. |
virtual void OnCongestionWindowChange() = 0; |
- // TODO(jri): Add OnRttStatsChange() to this class as well. |
+ |
+ // Called when RTT may have changed, including when an RTT is read from |
+ // the config. |
+ virtual void OnRttChange() = 0; |
}; |
// Struct to store the pending retransmission information. |
@@ -143,7 +146,8 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager { |
// Returns true if there are pending retransmissions. |
bool HasPendingRetransmissions() const; |
- // Retrieves the next pending retransmission. |
+ // Retrieves the next pending retransmission. You must ensure that |
+ // there are pending retransmissions prior to calling this function. |
PendingRetransmission NextPendingRetransmission(); |
bool HasUnackedPackets() const; |