#include "base/task/sequence_manager/work_tracker.h"
#include "base/check.h"
#include "base/task/common/scoped_defer_task_posting.h"
#include "base/threading/thread_restrictions.h"
namespace base::sequence_manager::internal {
SyncWorkAuthorization::SyncWorkAuthorization(SyncWorkAuthorization&& other)
: … { … }
SyncWorkAuthorization& SyncWorkAuthorization::operator=(
SyncWorkAuthorization&& other) { … }
SyncWorkAuthorization::~SyncWorkAuthorization() { … }
SyncWorkAuthorization::SyncWorkAuthorization(WorkTracker* state)
: … { … }
WorkTracker::WorkTracker() { … }
WorkTracker::~WorkTracker() = default;
void WorkTracker::SetRunTaskSynchronouslyAllowed(
bool can_run_tasks_synchronously) { … }
void WorkTracker::WaitNoSyncWork() { … }
void WorkTracker::WillRequestReloadImmediateWorkQueue() { … }
void WorkTracker::WillReloadImmediateWorkQueues() { … }
void WorkTracker::OnBeginWork() { … }
void WorkTracker::OnIdle() { … }
SyncWorkAuthorization WorkTracker::TryAcquireSyncWorkAuthorization() { … }
void WorkTracker::AssertHasWork() { … }
}