Remove quic_bbr2_sender. It's no longer useful now that BBR2 code is in Chromium. gfe-relnote: n/a (no functional change) Merge note: please remove quic_bbr2_sender_impl.h from Chromium PiperOrigin-RevId: 291838586 Change-Id: I970301efae639fedb3efb93b7905702573fb1c47
diff --git a/quic/core/congestion_control/send_algorithm_interface.cc b/quic/core/congestion_control/send_algorithm_interface.cc index 83529c6..26c0976 100644 --- a/quic/core/congestion_control/send_algorithm_interface.cc +++ b/quic/core/congestion_control/send_algorithm_interface.cc
@@ -4,10 +4,10 @@ #include "net/third_party/quiche/src/quic/core/congestion_control/send_algorithm_interface.h" +#include "net/third_party/quiche/src/quic/core/congestion_control/bbr2_sender.h" #include "net/third_party/quiche/src/quic/core/congestion_control/bbr_sender.h" #include "net/third_party/quiche/src/quic/core/congestion_control/tcp_cubic_sender_bytes.h" #include "net/third_party/quiche/src/quic/core/quic_packets.h" -#include "net/third_party/quiche/src/quic/platform/api/quic_bbr2_sender.h" #include "net/third_party/quiche/src/quic/platform/api/quic_bug_tracker.h" #include "net/third_party/quiche/src/quic/platform/api/quic_fallthrough.h" #include "net/third_party/quiche/src/quic/platform/api/quic_flag_utils.h" @@ -36,9 +36,9 @@ initial_congestion_window, max_congestion_window, random, stats); case kBBRv2: - return new QuicBbr2Sender(clock->ApproximateNow(), rtt_stats, - unacked_packets, initial_congestion_window, - max_congestion_window, random, stats); + return new Bbr2Sender(clock->ApproximateNow(), rtt_stats, unacked_packets, + initial_congestion_window, max_congestion_window, + random, stats); case kPCC: if (GetQuicReloadableFlag(quic_enable_pcc3)) { return CreatePccSender(clock, rtt_stats, unacked_packets, random, stats,
diff --git a/quic/platform/api/quic_bbr2_sender.h b/quic/platform/api/quic_bbr2_sender.h deleted file mode 100644 index 48bc86a..0000000 --- a/quic/platform/api/quic_bbr2_sender.h +++ /dev/null
@@ -1,16 +0,0 @@ -// Copyright (c) 2019 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_BBR2_SENDER_H_ -#define QUICHE_QUIC_PLATFORM_API_QUIC_BBR2_SENDER_H_ - -#include "net/quic/platform/impl/quic_bbr2_sender_impl.h" - -namespace quic { - -using QuicBbr2Sender = QuicBbr2SenderImpl; - -} // namespace quic - -#endif // QUICHE_QUIC_PLATFORM_API_QUIC_BBR2_SENDER_H_