Home
last modified time | relevance | path

Searched refs:GetFrontTask (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dwork_queue_unittest.cc111 EXPECT_EQ(nullptr, work_queue_->GetFrontTask()); in TEST_F()
114 TEST_F(WorkQueueTest, GetFrontTask) { in TEST_F() argument
119 ASSERT_NE(nullptr, work_queue_->GetFrontTask()); in TEST_F()
120 EXPECT_EQ(2ull, work_queue_->GetFrontTask()->enqueue_order()); in TEST_F()
166 EXPECT_EQ(2ull, work_queue_->GetFrontTask()->enqueue_order()); in TEST_F()
203 ASSERT_NE(nullptr, work_queue_->GetFrontTask()); in TEST_F()
204 EXPECT_EQ(2ull, work_queue_->GetFrontTask()->enqueue_order()); in TEST_F()
224 ASSERT_NE(nullptr, work_queue_->GetFrontTask()); in TEST_F()
225 EXPECT_EQ(2ull, work_queue_->GetFrontTask()->enqueue_order()); in TEST_F()
Dwork_queue.h58 const TaskQueueImpl::Task* GetFrontTask() const;
Dwork_queue.cc30 const TaskQueueImpl::Task* WorkQueue::GetFrontTask() const { in GetFrontTask() function in base::sequence_manager::internal::WorkQueue
Dsequence_manager_impl.cc336 if (work_queue->GetFrontTask()->nestable == Nestable::kNonNestable && in TakeTask()