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; |