diff --git a/modules/pacing/pacing_controller.cc b/modules/pacing/pacing_controller.cc index 9d08291280..9aded858b8 100644 --- a/modules/pacing/pacing_controller.cc +++ b/modules/pacing/pacing_controller.cc @@ -72,12 +72,6 @@ const TimeDelta PacingController::kMinSleepTime = TimeDelta::Millis(1); const TimeDelta PacingController::kMaxEarlyProbeProcessing = TimeDelta::Millis(1); -PacingController::PacingController(Clock* clock, - PacketSender* packet_sender, - const FieldTrialsView& field_trials, - ProcessMode /*mode*/) - : PacingController(clock, packet_sender, field_trials) {} - PacingController::PacingController(Clock* clock, PacketSender* packet_sender, const FieldTrialsView& field_trials) diff --git a/modules/pacing/pacing_controller.h b/modules/pacing/pacing_controller.h index dbebf929c4..d11ff5b96f 100644 --- a/modules/pacing/pacing_controller.h +++ b/modules/pacing/pacing_controller.h @@ -18,7 +18,6 @@ #include #include -#include "absl/base/attributes.h" #include "absl/types/optional.h" #include "api/field_trials_view.h" #include "api/function_view.h" @@ -42,10 +41,6 @@ namespace webrtc { // externally, via the PacingController::PacketSender interface. class PacingController { public: - // TODO(bugs.webrtc.org/10809): Remove when downsteam usage is gone. - // Deprecated, ignored by constructor. - enum class ProcessMode { kPeriodic, kDynamic }; - class PacketSender { public: virtual ~PacketSender() = default; @@ -125,12 +120,6 @@ class PacingController { PacketSender* packet_sender, const FieldTrialsView& field_trials); - ABSL_DEPRECATED("Use constructor without mode parameter instead.") - PacingController(Clock* clock, - PacketSender* packet_sender, - const FieldTrialsView& field_trials, - ProcessMode mode); - ~PacingController(); // Adds the packet to the queue and calls PacketRouter::SendPacket() when