Files
platform-external-webrtc/rtc_base
Henrik Boström 2deee4bbb2 Mark rtc::Thread's versions of PostTask/PostDelayedTask deprecated.
Because rtc::Thread inherits from TaskQueueBase, it already implements
a pair of PostTask/PostDelayedTask methods that we want to keep. But in
addition to those, rtc::Thread defines its own PostTask/PostDelayedTask
using templates. These are the versions that we want to deprecate.

They were originally implemented prior to rtc::Thread inheriting from
TaskQueueBase. We want to deprecate them because...
- We don't want to have multiple code paths that do the same thing.
- We want to move away from rtc::Thread to TaskQueueBase long-term.
- These versions are not overridable in Chromium.
- These versions don't have high/low precision versions of PDT.

Helper methods are added to rtc::Thread so that callers don't have to
wrap every lambda in webrtc::ToQueuedTask() and update dependencies.

Bug: webrtc:13582
Change-Id: I58702c53f4cb3705681bd9f1ea16b7aaa5052c18
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/247660
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Markus Handell <handellm@google.com>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35750}
2022-01-20 12:59:27 +00:00
..
2021-11-16 10:30:30 +00:00
2022-01-11 14:12:54 +00:00
2019-07-08 13:45:15 +00:00
2021-09-21 16:28:38 +00:00
2021-09-21 16:28:38 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2021-08-23 11:07:36 +00:00
2021-08-31 14:27:49 +00:00
2019-07-08 13:45:15 +00:00
2019-11-26 14:05:20 +00:00
2021-04-22 13:04:53 +00:00
2019-07-08 13:45:15 +00:00
2021-04-16 08:47:17 +00:00
2019-07-08 13:45:15 +00:00
2020-09-17 13:18:25 +00:00
2021-09-21 15:17:26 +00:00
2021-01-29 08:24:43 +00:00
2021-02-10 15:04:55 +00:00
2019-07-08 13:45:15 +00:00
2021-10-13 19:26:10 +00:00
2019-07-08 13:45:15 +00:00