Index: net/quic/congestion_control/tcp_cubic_bytes_sender.cc |
diff --git a/net/quic/congestion_control/tcp_cubic_bytes_sender.cc b/net/quic/congestion_control/tcp_cubic_bytes_sender.cc |
index 64737226f8c0faa95a256a0ff75399461cefb8b0..e4ea55f351b3d779e42619e660233a7bc15b8723 100644 |
--- a/net/quic/congestion_control/tcp_cubic_bytes_sender.cc |
+++ b/net/quic/congestion_control/tcp_cubic_bytes_sender.cc |
@@ -107,6 +107,11 @@ void TcpCubicBytesSender::SetNumEmulatedConnections(int num_connections) { |
cubic_.SetNumConnections(num_connections_); |
} |
+void TcpCubicBytesSender::SetMaxCongestionWindow( |
+ QuicByteCount max_congestion_window) { |
+ max_congestion_window_ = max_congestion_window; |
+} |
+ |
float TcpCubicBytesSender::RenoBeta() const { |
// kNConnectionBeta is the backoff factor after loss for our N-connection |
// emulation, which emulates the effective backoff of an ensemble of N |