mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 06:10:40 +01:00
![]() 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} |
||
---|---|---|
.. | ||
audio_short16.pcm | ||
audio_short44.pcm | ||
audio_short48.pcm | ||
avformatmappertests.mm | ||
foreman.mp4 | ||
frame_buffer_helpers.h | ||
frame_buffer_helpers.mm | ||
main.mm | ||
nalu_rewriter_xctest.mm | ||
objc_video_decoder_factory_tests.mm | ||
objc_video_encoder_factory_tests.mm | ||
ObjCVideoTrackSource_xctest.mm | ||
RTCAudioDevice_xctest.mm | ||
RTCAudioDeviceModule_xctest.mm | ||
RTCAudioSessionTest.mm | ||
RTCCallbackLogger_xctest.m | ||
RTCCameraVideoCapturerTests.mm | ||
RTCCertificateTest.mm | ||
RTCConfigurationTest.mm | ||
RTCCVPixelBuffer_xctest.mm | ||
RTCDataChannelConfigurationTest.mm | ||
RTCDoNotPutCPlusPlusInFrameworkHeaders_xctest.m | ||
RTCEncodedImage_xctest.mm | ||
RTCFileVideoCapturer_xctest.mm | ||
RTCH264ProfileLevelId_xctest.m | ||
RTCIceCandidateTest.mm | ||
RTCIceServerTest.mm | ||
RTCMediaConstraintsTest.mm | ||
RTCMTLVideoView_xctest.m | ||
RTCNV12TextureCache_xctest.m | ||
RTCPeerConnectionFactory_xctest.m | ||
RTCPeerConnectionFactoryBuilderTest.mm | ||
RTCPeerConnectionTest.mm | ||
RTCSessionDescriptionTest.mm | ||
RTCTracingTest.mm | ||
scoped_cftyperef_tests.mm |