Home
last modified time | relevance | path

Searched refs:PushTask (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc51 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()
Dtest_utils.cc21 sequence->PushTask(std::move(task)); in CreateSequenceWithTask()
Dsequence.h48 bool PushTask(Task task);
Dsequence.cc17 bool Sequence::PushTask(Task task) { in PushTask() function in base::internal::Sequence
Dscheduler_worker_pool.cc205 const bool sequence_was_empty = sequence->PushTask(std::move(task)); in PostTaskWithSequenceNow()