#include "base/threading/thread_checker_impl.h"
#include "base/check.h"
#include "base/debug/stack_trace.h"
#include "base/sequence_token.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/platform_thread.h"
#include "base/threading/thread_checker.h"
#include "base/threading/thread_local.h"
namespace {
bool g_log_stack = …;
}
namespace base {
void ThreadCheckerImpl::EnableStackLogging() { … }
ThreadCheckerImpl::ThreadCheckerImpl() { … }
ThreadCheckerImpl::~ThreadCheckerImpl() = default;
ThreadCheckerImpl::ThreadCheckerImpl(ThreadCheckerImpl&& other) { … }
ThreadCheckerImpl& ThreadCheckerImpl::operator=(ThreadCheckerImpl&& other) { … }
bool ThreadCheckerImpl::CalledOnValidThread(
std::unique_ptr<debug::StackTrace>* out_bound_at) const { … }
void ThreadCheckerImpl::DetachFromThread() { … }
void ThreadCheckerImpl::EnsureAssigned() const { … }
}