| Index: net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| index f793211849784a7ef7a9142aeb7a71addbf60a7c..0f914b2847950114ad0d9384b6a37b4540e1712a 100644
|
| --- a/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| +++ b/net/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
|
| @@ -47,6 +47,16 @@ TcpCubicSenderBytes::TcpCubicSenderBytes(
|
|
|
| TcpCubicSenderBytes::~TcpCubicSenderBytes() {}
|
|
|
| +void TcpCubicSenderBytes::SetFromConfig(const QuicConfig& config,
|
| + Perspective perspective) {
|
| + TcpCubicSenderBase::SetFromConfig(config, perspective);
|
| + if (FLAGS_quic_fix_cubic_convex_mode &&
|
| + config.HasReceivedConnectionOptions() &&
|
| + ContainsQuicTag(config.ReceivedConnectionOptions(), kCCVX)) {
|
| + cubic_.SetFixConvexMode(true);
|
| + }
|
| +}
|
| +
|
| void TcpCubicSenderBytes::SetCongestionWindowFromBandwidthAndRtt(
|
| QuicBandwidth bandwidth,
|
| QuicTime::Delta rtt) {
|
|
|