Home
last modified time | relevance | path

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

/external/libchrome/base/test/
Dtest_simple_task_runner.cc23 pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), in PostDelayedTask()
33 pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), in PostNonNestableDelayedTask()
48 return std::move(pending_tasks_); in TakePendingTasks()
53 return pending_tasks_.size(); in NumPendingTasks()
58 return !pending_tasks_.empty(); in HasPendingTask()
63 return pending_tasks_.front().GetTimeToRun() - base::TimeTicks(); in NextPendingTaskDelay()
68 return pending_tasks_.back().GetTimeToRun() - base::TimeTicks(); in FinalPendingTaskDelay()
73 pending_tasks_.clear(); in ClearPendingTasks()
83 tasks_to_run.swap(pending_tasks_); in RunPendingTasks()
Dtest_simple_task_runner.h82 base::circular_deque<TestPendingTask> pending_tasks_; variable
/external/libchrome/base/
Drun_loop_unittest.cc76 pending_tasks_.push(std::move(task)); in PostDelayedTask()
94 if (pending_tasks_.empty()) in ProcessSingleTask()
96 task = std::move(pending_tasks_.front()); in ProcessSingleTask()
97 pending_tasks_.pop(); in ProcessSingleTask()
109 base::queue<OnceClosure> pending_tasks_; member in base::__anon11d143c70111::SimpleSingleThreadTaskRunner