| Index: net/quic/quic_sent_packet_manager.cc
|
| diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
|
| index 0150320e482a73bcc50134e5348842473a9ae74f..c8f297ca4a7395208be4546e135fdbfe21c689b8 100644
|
| --- a/net/quic/quic_sent_packet_manager.cc
|
| +++ b/net/quic/quic_sent_packet_manager.cc
|
| @@ -85,22 +85,22 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
|
| config.ReceivedInitialRoundTripTimeUs()));
|
| }
|
| // TODO(ianswett): BBR is currently a server only feature.
|
| - if (config.HasReceivedCongestionOptions() &&
|
| - ContainsQuicTag(config.ReceivedCongestionOptions(), kTBBR)) {
|
| + if (config.HasReceivedConnectionOptions() &&
|
| + ContainsQuicTag(config.ReceivedConnectionOptions(), kTBBR)) {
|
| send_algorithm_.reset(
|
| SendAlgorithmInterface::Create(clock_, &rtt_stats_, kTCPBBR, stats_));
|
| }
|
| if (config.congestion_feedback() == kPACE ||
|
| - (config.HasReceivedCongestionOptions() &&
|
| - ContainsQuicTag(config.ReceivedCongestionOptions(), kPACE))) {
|
| + (config.HasReceivedConnectionOptions() &&
|
| + ContainsQuicTag(config.ReceivedConnectionOptions(), kPACE))) {
|
| MaybeEnablePacing();
|
| }
|
| // TODO(ianswett): Remove the "HasReceivedLossDetection" branch once
|
| - // the CongestionOptions code is live everywhere.
|
| + // the ConnectionOptions code is live everywhere.
|
| if ((config.HasReceivedLossDetection() &&
|
| config.ReceivedLossDetection() == kTIME) ||
|
| - (config.HasReceivedCongestionOptions() &&
|
| - ContainsQuicTag(config.ReceivedCongestionOptions(), kTIME))) {
|
| + (config.HasReceivedConnectionOptions() &&
|
| + ContainsQuicTag(config.ReceivedConnectionOptions(), kTIME))) {
|
| loss_algorithm_.reset(LossDetectionInterface::Create(kTime));
|
| }
|
| send_algorithm_->SetFromConfig(config, is_server_);
|
|
|