Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: webrtc/base/sequenced_task_checker_impl.h

Issue 2877023002: Move webrtc/{base => rtc_base} (Closed)
Patch Set: update presubmit.py and DEPS include rules Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/sequenced_task_checker.h ('k') | webrtc/base/sequenced_task_checker_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « webrtc/base/sequenced_task_checker.h ('k') | webrtc/base/sequenced_task_checker_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698