Home
last modified time | relevance | path

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

/external/libchrome/base/task_scheduler/
Dsequence_unittest.cc78 EXPECT_TRUE(sequence->PushTask(std::move(task_a_owned_))); in TEST_F()
84 EXPECT_FALSE(sequence->PushTask(std::move(task_b_owned_))); in TEST_F()
88 EXPECT_FALSE(sequence->PushTask(std::move(task_c_owned_))); in TEST_F()
92 EXPECT_FALSE(sequence->PushTask(std::move(task_d_owned_))); in TEST_F()
110 EXPECT_FALSE(sequence->PushTask(std::move(task_e_owned_))); in TEST_F()
128 sequence->PushTask(std::move(task_a_owned_)); in TEST_F()
134 sequence->PushTask(std::move(task_b_owned_)); in TEST_F()
141 sequence->PushTask(std::move(task_c_owned_)); in TEST_F()
148 sequence->PushTask(std::move(task_d_owned_)); in TEST_F()
176 sequence->PushTask(std::move(task_e_owned_)); in TEST_F()
Dsequence.h45 bool PushTask(std::unique_ptr<Task> task);
Dsequence.cc17 bool Sequence::PushTask(std::unique_ptr<Task> task) { in PushTask() function in base::internal::Sequence