Remove deprecated TaskQueuePacedSender constructor. Bug: webrtc:13417 Change-Id: I1486aedf2069d70c515fad97c665c7a5a94b6c38 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256017 Auto-Submit: Erik Språng <sprang@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36253}
diff --git a/modules/pacing/task_queue_paced_sender.cc b/modules/pacing/task_queue_paced_sender.cc index ebfc7ec..f659123 100644 --- a/modules/pacing/task_queue_paced_sender.cc +++ b/modules/pacing/task_queue_paced_sender.cc
@@ -32,21 +32,6 @@ TaskQueuePacedSender::TaskQueuePacedSender( Clock* clock, PacingController::PacketSender* packet_sender, - RtcEventLog* event_log, - const WebRtcKeyValueConfig* field_trials, - TaskQueueFactory* task_queue_factory, - TimeDelta max_hold_back_window, - int max_hold_back_window_in_packets) - : TaskQueuePacedSender(clock, - packet_sender, - *field_trials, - task_queue_factory, - max_hold_back_window, - max_hold_back_window_in_packets) {} - -TaskQueuePacedSender::TaskQueuePacedSender( - Clock* clock, - PacingController::PacketSender* packet_sender, const WebRtcKeyValueConfig& field_trials, TaskQueueFactory* task_queue_factory, TimeDelta max_hold_back_window,
diff --git a/modules/pacing/task_queue_paced_sender.h b/modules/pacing/task_queue_paced_sender.h index 7a1d5f2..4df8aaf 100644 --- a/modules/pacing/task_queue_paced_sender.h +++ b/modules/pacing/task_queue_paced_sender.h
@@ -40,17 +40,6 @@ class TaskQueuePacedSender : public RtpPacketPacer, public RtpPacketSender { public: - // TODO(bugs.webrtc.org/13417): Remove when downstream usage is gone. - ABSL_DEPRECATED("Use the other version instead.") - TaskQueuePacedSender( - Clock* clock, - PacingController::PacketSender* packet_sender, - RtcEventLog* event_log, - const WebRtcKeyValueConfig* field_trials, - TaskQueueFactory* task_queue_factory, - TimeDelta max_hold_back_window = PacingController::kMinSleepTime, - int max_hold_back_window_in_packets = -1); - // The `hold_back_window` parameter sets a lower bound on time to sleep if // there is currently a pacer queue and packets can't immediately be // processed. Increasing this reduces thread wakeups at the expense of higher