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 3f5baa34c9b39c67a137544c6c702cb96b93663c..8851ac429a149f0ce9896c7eef007cec993c8b91 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender.h |
+++ b/net/quic/congestion_control/tcp_cubic_sender.h |
@@ -39,6 +39,7 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { |
// Start implementation of SendAlgorithmInterface. |
virtual void SetFromConfig(const QuicConfig& config, bool is_server) OVERRIDE; |
+ virtual void SetNumEmulatedConnections(int num_connections) OVERRIDE; |
virtual void OnIncomingQuicCongestionFeedbackFrame( |
const QuicCongestionFeedbackFrame& feedback, |
QuicTime feedback_receive_time) OVERRIDE; |
@@ -92,9 +93,12 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { |
const RttStats* rtt_stats_; |
QuicConnectionStats* stats_; |
- // Reno provided for testing. |
+ // If true, Reno congestion control is used instead of Cubic. |
const bool reno_; |
+ // Number of connections to simulate. |
+ int num_connections_; |
+ |
// ACK counter for the Reno implementation. |
int64 congestion_window_count_; |