#include "base/task/sequence_manager/task_queue.h"
#include <optional>
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/memory/weak_ptr.h"
#include "base/task/sequence_manager/associated_thread_id.h"
#include "base/task/sequence_manager/sequence_manager_impl.h"
#include "base/task/sequence_manager/task_queue_impl.h"
#include "base/threading/thread_checker.h"
#include "base/threading/thread_checker_impl.h"
#include "base/time/time.h"
#include "base/trace_event/base_tracing.h"
namespace base::sequence_manager {
TaskQueue::QueueEnabledVoter::QueueEnabledVoter(
WeakPtr<internal::TaskQueueImpl> task_queue)
: … { … }
TaskQueue::QueueEnabledVoter::~QueueEnabledVoter() { … }
void TaskQueue::QueueEnabledVoter::SetVoteToEnable(bool enabled) { … }
TaskQueue::TaskTiming::TaskTiming(bool has_wall_time, bool has_thread_time)
: … { … }
void TaskQueue::TaskTiming::RecordTaskStart(LazyNow* now) { … }
void TaskQueue::TaskTiming::RecordTaskEnd(LazyNow* now) { … }
TaskQueue::Handle::Handle(std::unique_ptr<internal::TaskQueueImpl> task_queue)
: … { … }
TaskQueue::Handle::Handle() = default;
TaskQueue::Handle::~Handle() { … }
TaskQueue* TaskQueue::Handle::get() const { … }
TaskQueue* TaskQueue::Handle::operator->() const { … }
void TaskQueue::Handle::reset() { … }
TaskQueue::Handle::Handle(TaskQueue::Handle&& other) = default;
TaskQueue::Handle& TaskQueue::Handle::operator=(TaskQueue::Handle&&) = default;
}