Index: net/quic/congestion_control/send_algorithm_interface.cc |
diff --git a/net/quic/congestion_control/send_algorithm_interface.cc b/net/quic/congestion_control/send_algorithm_interface.cc |
index c884c028dc8bc2e0fdb662d4a3223409ed3bb6e3..3ab023c9727b28849908e94da769cf7430d0950a 100644 |
--- a/net/quic/congestion_control/send_algorithm_interface.cc |
+++ b/net/quic/congestion_control/send_algorithm_interface.cc |
@@ -13,17 +13,20 @@ namespace net { |
const bool kUseReno = false; |
+class RttStats; |
+ |
// Factory for send side congestion control algorithm. |
SendAlgorithmInterface* SendAlgorithmInterface::Create( |
const QuicClock* clock, |
+ const RttStats* rtt_stats, |
CongestionFeedbackType type, |
QuicConnectionStats* stats) { |
switch (type) { |
case kTCP: |
- return new TcpCubicSender(clock, kUseReno, kMaxTcpCongestionWindow, |
- stats); |
+ return new TcpCubicSender(clock, rtt_stats, kUseReno, |
+ kMaxTcpCongestionWindow, stats); |
case kInterArrival: |
- return new InterArrivalSender(clock); |
+ return new InterArrivalSender(clock, rtt_stats); |
case kFixRate: |
return new FixRateSender(clock); |
} |