Home | History | Annotate | Download | only in task_scheduler

Lines Matching refs:PushTask

49   // Push task A in the sequence. PushTask() should return true since it's the
51 EXPECT_TRUE(sequence->PushTask(CreateTask(&mock_task_a)));
53 // Push task B, C and D in the sequence. PushTask() should return false since
55 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_b)));
56 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_c)));
57 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_d)));
80 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_e)));
103 background_sequence->PushTask(std::move(background_task));
128 foreground_sequence->PushTask(std::move(foreground_task));
150 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta()));
159 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta()));