Searched refs:PendingTask (Results 1 – 2 of 2) sorted by relevance
287 struct PendingTask { struct293 PendingTask(Task* task, bool nestable) in PendingTask() argument298 bool operator<(const PendingTask& other) const;301 class TaskQueue : public std::queue<PendingTask> {308 typedef std::priority_queue<PendingTask> DelayedTaskQueue;355 bool DeferOrRunPendingTask(const PendingTask& pending_task);358 void AddToDelayedWorkQueue(const PendingTask& pending_task);
262 PendingTask pending_task(task, nestable); in PostTask_Helper()326 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) { in DeferOrRunPendingTask()340 void MessageLoop::AddToDelayedWorkQueue(const PendingTask& pending_task) { in AddToDelayedWorkQueue()345 PendingTask new_pending_task(pending_task); in AddToDelayedWorkQueue()371 PendingTask pending_task = work_queue_.front(); in DeletePendingTasks()427 PendingTask pending_task = work_queue_.front(); in DoWork()456 PendingTask pending_task = delayed_work_queue_.top(); in DoDelayedWork()502 bool MessageLoop::PendingTask::operator<(const PendingTask& other) const { in operator <()