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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 839143002: Roll Chrome into Mojo. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « net/quic/quic_protocol.h ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698