Searched refs:PushTask (Results 1 – 5 of 5) sorted by relevance
51 EXPECT_TRUE(sequence->PushTask(CreateTask(&mock_task_a))); in TEST()55 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_b))); in TEST()56 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_c))); in TEST()57 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_d))); in TEST()80 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_e))); in TEST()103 background_sequence->PushTask(std::move(background_task)); in TEST()128 foreground_sequence->PushTask(std::move(foreground_task)); in TEST()150 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST()159 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST()
21 sequence->PushTask(std::move(task)); in CreateSequenceWithTask()
48 bool PushTask(Task task);
17 bool Sequence::PushTask(Task task) { in PushTask() function in base::internal::Sequence
205 const bool sequence_was_empty = sequence->PushTask(std::move(task)); in PostTaskWithSequenceNow()