Index: net/quic/congestion_control/send_algorithm_interface.h |
diff --git a/net/quic/congestion_control/send_algorithm_interface.h b/net/quic/congestion_control/send_algorithm_interface.h |
index 24d965d0d54fc3f315f977b9e4723077b693cec7..14383f86f7e10258401bb0246dbcc82424294fdd 100644 |
--- a/net/quic/congestion_control/send_algorithm_interface.h |
+++ b/net/quic/congestion_control/send_algorithm_interface.h |
@@ -38,6 +38,10 @@ class NET_EXPORT_PRIVATE SendAlgorithmInterface { |
virtual void SetFromConfig(const QuicConfig& config, bool is_server) = 0; |
+ // Sets the number of connections to emulate when doing congestion control, |
+ // particularly for congestion avoidance. Can be set any time. |
+ virtual void SetNumEmulatedConnections(int num_connections) = 0; |
+ |
// Called when we receive congestion feedback from remote peer. |
virtual void OnIncomingQuicCongestionFeedbackFrame( |
const QuicCongestionFeedbackFrame& feedback, |