webrtc/examples
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
..
aarproject Change annotation. 2021-10-14 12:28:24 +00:00
androidapp Roll chromium_revision cbd0ac46b5..3aef64d992 (955688:956401) 2022-01-07 08:51:46 +00:00
androidjunit Change from sakal@webrtc.org to xalep@webrtc.org in OWNERS files. 2021-04-14 08:27:54 +00:00
androidnativeapi Prepare for deleting implicit conversion from raw pointer to scoped_refptr. 2022-01-18 08:22:15 +00:00
androidtests Replace legacy getStats with standard getStats in the Android example 2021-08-30 10:45:15 +00:00
androidvoip Mark rtc::Thread's versions of PostTask/PostDelayedTask deprecated. 2022-01-20 12:59:27 +00:00
objc Implement JNI and objc implementation for icecandidateerror event 2021-12-14 14:19:38 +00:00
objcnativeapi Prepare for deleting implicit conversion from raw pointer to scoped_refptr. 2022-01-18 08:22:15 +00:00
peerconnection Prepare for deleting implicit conversion from raw pointer to scoped_refptr. 2022-01-18 08:22:15 +00:00
stunprober Deprecate BasicNetworkManager default constructor 2021-12-09 12:10:20 +00:00
stunserver (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
turnserver Delete BasicPacketSocketFactory default constructor 2021-09-03 10:46:29 +00:00
unityplugin Prepare for deleting implicit conversion from raw pointer to scoped_refptr. 2022-01-18 08:22:15 +00:00
BUILD.gn Replace the android support annotation library with androidx's one. 2021-08-24 16:02:17 +00:00
DEPS Remove +absl/flags exceptions from non root DEPS files. 2019-07-16 16:52:41 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00