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

Unified Diff: net/quic/congestion_control/tcp_cubic_sender.h

Issue 479443002: Not used in production. Add InRecovery() method to QUIC send algorithm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_flag_to_enable_BBR_73146298
Patch Set: Created 6 years, 4 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/congestion_control/tcp_cubic_sender.h
diff --git a/net/quic/congestion_control/tcp_cubic_sender.h b/net/quic/congestion_control/tcp_cubic_sender.h
index 28f830222443ff55573693e605655c90696f215b..c11620c13cbe4d9b39c5af518baa36956fdafdb4 100644
--- a/net/quic/congestion_control/tcp_cubic_sender.h
+++ b/net/quic/congestion_control/tcp_cubic_sender.h
@@ -62,6 +62,7 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface {
virtual QuicTime::Delta RetransmissionDelay() const OVERRIDE;
virtual QuicByteCount GetCongestionWindow() const OVERRIDE;
virtual bool InSlowStart() const OVERRIDE;
+ virtual bool InRecovery() const OVERRIDE;
virtual QuicByteCount GetSlowStartThreshold() const OVERRIDE;
virtual CongestionControlType GetCongestionControlType() const OVERRIDE;
// End implementation of SendAlgorithmInterface.
@@ -80,7 +81,6 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface {
void MaybeIncreaseCwnd(QuicPacketSequenceNumber acked_sequence_number,
QuicByteCount bytes_in_flight);
bool IsCwndLimited(QuicByteCount bytes_in_flight) const;
- bool InRecovery() const;
// Methods for isolating PRR from the rest of TCP Cubic.
void PrrOnPacketLost(QuicByteCount bytes_in_flight);
void PrrOnPacketAcked(QuicByteCount acked_bytes);
« no previous file with comments | « net/quic/congestion_control/send_algorithm_interface.h ('k') | net/quic/quic_sustained_bandwidth_recorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698