Home
last modified time | relevance | path

Searched refs:TakeTask (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc60 Optional<Task> task = sequence->TakeTask(); in TEST()
66 task = sequence->TakeTask(); in TEST()
72 task = sequence->TakeTask(); in TEST()
83 task = sequence->TakeTask(); in TEST()
89 task = sequence->TakeTask(); in TEST()
110 auto take_background_task = background_sequence->TakeTask(); in TEST()
135 auto take_foreground_task = foreground_sequence->TakeTask(); in TEST()
161 EXPECT_TRUE(sequence->TakeTask()); in TEST()
162 EXPECT_DCHECK_DEATH({ sequence->TakeTask(); }); in TEST()
168 EXPECT_DCHECK_DEATH({ sequence->TakeTask(); }); in TEST()
Dsequence.h59 Optional<Task> TakeTask();
Dsequence.cc32 Optional<Task> Sequence::TakeTask() { in TakeTask() function in base::internal::Sequence
Dtask_tracker.cc394 Optional<Task> task = sequence->TakeTask(); in RunAndPopNextTask()
Dscheduler_worker_unittest.cc223 EXPECT_TRUE(sequence->TakeTask()); in ReEnqueueSequence()
/external/libchrome/base/task/sequence_manager/
Dsequenced_task_source.h22 virtual Optional<PendingTask> TakeTask() = 0;
Dthread_controller_with_message_pump_impl.cc121 Optional<PendingTask> task = main_thread_only().task_source->TakeTask(); in DoWork()
Dthread_controller_impl.cc161 Optional<PendingTask> task = sequence_->TakeTask(); in DoWork()
Dsequence_manager_impl.h108 Optional<PendingTask> TakeTask() override;
Dsequence_manager_impl.cc295 Optional<PendingTask> SequenceManagerImpl::TakeTask() { in TakeTask() function in base::sequence_manager::internal::SequenceManagerImpl