| 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 20821a610226908b40c4462bb318adb672bd78b3..83de14f237763176f1e2fd8f9246bfeb5121740c 100644
|
| --- a/net/quic/congestion_control/send_algorithm_interface.cc
|
| +++ b/net/quic/congestion_control/send_algorithm_interface.cc
|
| @@ -4,8 +4,6 @@
|
|
|
| #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/congestion_control/tcp_cubic_sender_bytes.h"
|
| #include "net/quic/congestion_control/tcp_cubic_sender_packets.h"
|
| #include "net/quic/quic_flags.h"
|
| @@ -27,39 +25,19 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create(
|
| kDefaultTCPMSS;
|
| switch (congestion_control_type) {
|
| case kCubic:
|
| - if (FLAGS_quic_use_new_tcp_sender) {
|
| - return new TcpCubicSenderPackets(
|
| - clock, rtt_stats, false /* don't use Reno */,
|
| - initial_congestion_window, max_congestion_window, stats);
|
| - }
|
| - return new TcpCubicSender(clock, rtt_stats, false /* don't use Reno */,
|
| - initial_congestion_window,
|
| - max_congestion_window, stats);
|
| + return new TcpCubicSenderPackets(
|
| + clock, rtt_stats, false /* don't use Reno */,
|
| + initial_congestion_window, max_congestion_window, stats);
|
| case kCubicBytes:
|
| - if (FLAGS_quic_use_new_tcp_sender) {
|
| - return new TcpCubicSenderBytes(
|
| - clock, rtt_stats, false /* don't use Reno */,
|
| - initial_congestion_window, max_congestion_window, stats);
|
| - }
|
| - return new TcpCubicBytesSender(
|
| + return new TcpCubicSenderBytes(
|
| clock, rtt_stats, false /* don't use Reno */,
|
| initial_congestion_window, max_congestion_window, stats);
|
| case kReno:
|
| - if (FLAGS_quic_use_new_tcp_sender) {
|
| - return new TcpCubicSenderPackets(clock, rtt_stats, true /* use Reno */,
|
| - initial_congestion_window,
|
| - max_congestion_window, stats);
|
| - }
|
| - return new TcpCubicSender(clock, rtt_stats, true /* use Reno */,
|
| - initial_congestion_window,
|
| - max_congestion_window, stats);
|
| - case kRenoBytes:
|
| - if (FLAGS_quic_use_new_tcp_sender) {
|
| - return new TcpCubicSenderBytes(clock, rtt_stats, true /* use Reno */,
|
| + return new TcpCubicSenderPackets(clock, rtt_stats, true /* use Reno */,
|
| initial_congestion_window,
|
| max_congestion_window, stats);
|
| - }
|
| - return new TcpCubicBytesSender(clock, rtt_stats, true /* use Reno */,
|
| + case kRenoBytes:
|
| + return new TcpCubicSenderBytes(clock, rtt_stats, true /* use Reno */,
|
| initial_congestion_window,
|
| max_congestion_window, stats);
|
| case kBBR:
|
|
|