From 16af378884f9996ab1f8ce4629c910cb82ec54b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Spr=C3=A5ng?= Date: Fri, 18 Mar 2022 14:34:35 +0100 Subject: [PATCH] Remove deprecated TaskQueuePacedSender constructor. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: webrtc:13417 Change-Id: I1486aedf2069d70c515fad97c665c7a5a94b6c38 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/256017 Auto-Submit: Erik Språng Reviewed-by: Danil Chapovalov Commit-Queue: Danil Chapovalov Cr-Commit-Position: refs/heads/main@{#36253} --- modules/pacing/task_queue_paced_sender.cc | 15 --------------- modules/pacing/task_queue_paced_sender.h | 11 ----------- 2 files changed, 26 deletions(-) diff --git a/modules/pacing/task_queue_paced_sender.cc b/modules/pacing/task_queue_paced_sender.cc index ebfc7ece9a..f6591235b3 100644 --- a/modules/pacing/task_queue_paced_sender.cc +++ b/modules/pacing/task_queue_paced_sender.cc @@ -29,21 +29,6 @@ constexpr const char* kSlackedTaskQueuePacedSenderFieldTrial = } // namespace -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, diff --git a/modules/pacing/task_queue_paced_sender.h b/modules/pacing/task_queue_paced_sender.h index 7a1d5f2fd7..4df8aafbdb 100644 --- a/modules/pacing/task_queue_paced_sender.h +++ b/modules/pacing/task_queue_paced_sender.h @@ -40,17 +40,6 @@ class Clock; 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