Searched refs:TakeTask (Results 1 – 10 of 10) sorted by relevance
60 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()
59 Optional<Task> TakeTask();
32 Optional<Task> Sequence::TakeTask() { in TakeTask() function in base::internal::Sequence
394 Optional<Task> task = sequence->TakeTask(); in RunAndPopNextTask()
223 EXPECT_TRUE(sequence->TakeTask()); in ReEnqueueSequence()
22 virtual Optional<PendingTask> TakeTask() = 0;
121 Optional<PendingTask> task = main_thread_only().task_source->TakeTask(); in DoWork()
161 Optional<PendingTask> task = sequence_->TakeTask(); in DoWork()
108 Optional<PendingTask> TakeTask() override;
295 Optional<PendingTask> SequenceManagerImpl::TakeTask() { in TakeTask() function in base::sequence_manager::internal::SequenceManagerImpl