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

Unified Diff: net/quic/quic_sent_packet_manager.h

Issue 366863002: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
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 8d2a4512fed0e1828688e99c7372bfe564b6132b..89a3b6d26a93e6ce344ab6d1fb1254cdaf3fef11 100644
--- a/net/quic/quic_sent_packet_manager.h
+++ b/net/quic/quic_sent_packet_manager.h
@@ -165,6 +165,9 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
// Returns the estimated bandwidth calculated by the congestion algorithm.
QuicBandwidth BandwidthEstimate() const;
+ // Returns true if the current bandwidth estimate is reliable.
+ bool HasReliableBandwidthEstimate() const;
+
// Returns the size of the current congestion window in bytes. Note, this is
// not the *available* window. Some send algorithms may not use a congestion
// window and will return 0.
@@ -180,6 +183,10 @@ class NET_EXPORT_PRIVATE QuicSentPacketManager {
debug_delegate_ = debug_delegate;
}
+ QuicPacketSequenceNumber largest_observed() const {
+ return largest_observed_;
+ }
+
private:
friend class test::QuicConnectionPeer;
friend class test::QuicSentPacketManagerPeer;

Powered by Google App Engine
This is Rietveld 408576698