Searched refs:PendingTask (Results 1 – 2 of 2) sorted by relevance
358 struct PendingTask { struct359 PendingTask(Task* task, bool nestable) in PendingTask() function364 bool operator<(const PendingTask& other) const;372 class TaskQueue : public std::queue<PendingTask> { argument379 typedef std::priority_queue<PendingTask> DelayedTaskQueue;414 bool DeferOrRunPendingTask(const PendingTask& pending_task);417 void AddToDelayedWorkQueue(const PendingTask& pending_task);
383 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) { in DeferOrRunPendingTask()397 void MessageLoop::AddToDelayedWorkQueue(const PendingTask& pending_task) { in AddToDelayedWorkQueue()402 PendingTask new_pending_task(pending_task); in AddToDelayedWorkQueue()428 PendingTask pending_task = work_queue_.front(); in DeletePendingTasks()477 PendingTask pending_task(task, nestable); in PostTask_Helper()570 PendingTask pending_task = work_queue_.front(); in DoWork()610 PendingTask pending_task = delayed_work_queue_.top(); in DoDelayedWork()656 bool MessageLoop::PendingTask::operator<(const PendingTask& other) const { in operator <()