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}
This commit is contained in:
Erik Språng
2022-03-18 14:34:35 +01:00
committed by WebRTC LUCI CQ
parent 4fc9bd9f69
commit 16af378884
2 changed files with 0 additions and 26 deletions

View File

@ -29,21 +29,6 @@ constexpr const char* kSlackedTaskQueuePacedSenderFieldTrial =
} // namespace } // 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( TaskQueuePacedSender::TaskQueuePacedSender(
Clock* clock, Clock* clock,
PacingController::PacketSender* packet_sender, PacingController::PacketSender* packet_sender,

View File

@ -40,17 +40,6 @@ class Clock;
class TaskQueuePacedSender : public RtpPacketPacer, public RtpPacketSender { class TaskQueuePacedSender : public RtpPacketPacer, public RtpPacketSender {
public: 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 // 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 // there is currently a pacer queue and packets can't immediately be
// processed. Increasing this reduces thread wakeups at the expense of higher // processed. Increasing this reduces thread wakeups at the expense of higher