// Copyright 2011 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef BASE_THREADING_THREAD_CHECKER_IMPL_H_ #define BASE_THREADING_THREAD_CHECKER_IMPL_H_ #include <memory> #include "base/base_export.h" #include "base/sequence_token.h" #include "base/synchronization/lock.h" #include "base/thread_annotations.h" #include "base/threading/platform_thread_ref.h" namespace base { namespace debug { class StackTrace; } class SequenceCheckerImpl; // Real implementation of ThreadChecker, for use in debug mode, or for temporary // use in release mode (e.g. to CHECK on a threading issue seen only in the // wild). // // Note: You should almost always use the ThreadChecker class to get the right // version for your build configuration. // Note: This is only a check, not a "lock". It is marked "LOCKABLE" only in // order to support thread_annotations.h. class LOCKABLE BASE_EXPORT ThreadCheckerImpl { … }; } // namespace base #endif // BASE_THREADING_THREAD_CHECKER_IMPL_H_