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 deeaf8c07d103950e2517ce00ff1c2307bd30e2b..46ba32373b3defe18bcf21a8181303a9e0af5ff7 100644 |
--- a/net/quic/congestion_control/send_algorithm_interface.cc |
+++ b/net/quic/congestion_control/send_algorithm_interface.cc |
@@ -4,6 +4,7 @@ |
#include "net/quic/congestion_control/send_algorithm_interface.h" |
+#include "net/quic/congestion_control/tcp_cubic_bytes_sender.h" |
#include "net/quic/congestion_control/tcp_cubic_sender.h" |
#include "net/quic/quic_protocol.h" |
@@ -22,9 +23,16 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create( |
case kCubic: |
return new TcpCubicSender(clock, rtt_stats, false /* don't use Reno */, |
initial_congestion_window, stats); |
+ case kCubicBytes: |
+ return new TcpCubicBytesSender(clock, rtt_stats, |
+ false /* don't use Reno */, |
+ initial_congestion_window, stats); |
case kReno: |
return new TcpCubicSender(clock, rtt_stats, true /* use Reno */, |
initial_congestion_window, stats); |
+ case kRenoBytes: |
+ return new TcpCubicBytesSender(clock, rtt_stats, true /* use Reno */, |
+ initial_congestion_window, stats); |
case kBBR: |
// TODO(rtenneti): Enable BbrTcpSender. |
#if 0 |