Index: webrtc/base/sequenced_task_checker_impl.h |
diff --git a/webrtc/base/sequenced_task_checker_impl.h b/webrtc/base/sequenced_task_checker_impl.h |
index 684b1dc5027091cbac6cb8f0dd01fe7bb181103a..4972539e66cf8a7a37553b6d1abfe24444642f4b 100644 |
--- a/webrtc/base/sequenced_task_checker_impl.h |
+++ b/webrtc/base/sequenced_task_checker_impl.h |
@@ -11,35 +11,9 @@ |
#ifndef WEBRTC_BASE_SEQUENCED_TASK_CHECKER_IMPL_H_ |
#define WEBRTC_BASE_SEQUENCED_TASK_CHECKER_IMPL_H_ |
-#include "webrtc/base/thread_checker.h" |
-namespace rtc { |
+// This header is deprecated and is just left here temporarily during |
+// refactoring. See https://bugs.webrtc.org/7634 for more details. |
+#include "webrtc/rtc_base/sequenced_task_checker_impl.h" |
-class TaskQueue; |
-// Real implementation of SequencedTaskChecker, for use in debug mode, or |
-// for temporary use in release mode. |
-// |
-// Note: You should almost always use the SequencedTaskChecker class to get the |
-// right version for your build configuration. |
-class SequencedTaskCheckerImpl { |
- public: |
- SequencedTaskCheckerImpl(); |
- ~SequencedTaskCheckerImpl(); |
- |
- bool CalledSequentially() const; |
- |
- // Changes the task queue or thread that is checked for in IsCurrent. This |
- // may be useful when an object may be created on one task queue / thread and |
- // then used exclusively on another thread. |
- void Detach(); |
- |
- private: |
- typedef const void* QueueId; |
- CriticalSection lock_; |
- ThreadChecker thread_checker_; |
- mutable bool attached_; |
- mutable QueueId valid_queue_; |
-}; |
- |
-} // namespace rtc |
#endif // WEBRTC_BASE_SEQUENCED_TASK_CHECKER_IMPL_H_ |