aboutsummaryrefslogtreecommitdiff
path: root/rtc_base/synchronization/sequence_checker_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtc_base/synchronization/sequence_checker_internal.h')
-rw-r--r--rtc_base/synchronization/sequence_checker_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rtc_base/synchronization/sequence_checker_internal.h b/rtc_base/synchronization/sequence_checker_internal.h
index 22503027a5..a23ac08885 100644
--- a/rtc_base/synchronization/sequence_checker_internal.h
+++ b/rtc_base/synchronization/sequence_checker_internal.h
@@ -31,6 +31,7 @@ namespace webrtc_sequence_checker_internal {
class RTC_EXPORT SequenceCheckerImpl {
public:
explicit SequenceCheckerImpl(bool attach_to_current_thread);
+ explicit SequenceCheckerImpl(TaskQueueBase* attached_queue);
~SequenceCheckerImpl() = default;
bool IsCurrent() const;
@@ -59,6 +60,7 @@ class RTC_EXPORT SequenceCheckerImpl {
class SequenceCheckerDoNothing {
public:
explicit SequenceCheckerDoNothing(bool attach_to_current_thread) {}
+ explicit SequenceCheckerDoNothing(TaskQueueBase* attached_queue) {}
bool IsCurrent() const { return true; }
void Detach() {}
};