Replace rtc::ThreadChecker with webrtc::SequenceChecker

Bug: webrtc:12419
Change-Id: I825c014cc1c4b1dcba5ef300409d44859e971144
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/205002
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33136}
This commit is contained in:
Artem Titov
2021-02-02 10:57:19 +01:00
committed by Commit Bot
parent 7358b40f44
commit c8421c4c3e
94 changed files with 195 additions and 202 deletions

View File

@ -19,7 +19,7 @@
#include "api/peer_connection_interface.h"
#include "api/scoped_refptr.h"
#include "rtc_base/synchronization/mutex.h"
#include "rtc_base/thread_checker.h"
#include "rtc_base/synchronization/sequence_checker.h"
@class RTC_OBJC_TYPE(RTCVideoCapturer);
@protocol RTC_OBJC_TYPE
@ -57,7 +57,7 @@ class ObjCCallClient {
void CreatePeerConnection() RTC_RUN_ON(thread_checker_);
void Connect() RTC_RUN_ON(thread_checker_);
rtc::ThreadChecker thread_checker_;
webrtc::SequenceChecker thread_checker_;
bool call_started_ RTC_GUARDED_BY(thread_checker_);