Lines Matching refs:task
225 const tracked_objects::Location& from_here, Task* task) { in PostTask() argument
226 PostTask_Helper(from_here, task, 0, true); in PostTask()
230 const tracked_objects::Location& from_here, Task* task, int64 delay_ms) { in PostDelayedTask() argument
231 PostTask_Helper(from_here, task, delay_ms, true); in PostDelayedTask()
235 const tracked_objects::Location& from_here, Task* task) { in PostNonNestableTask() argument
236 PostTask_Helper(from_here, task, 0, false); in PostNonNestableTask()
240 const tracked_objects::Location& from_here, Task* task, int64 delay_ms) { in PostNonNestableDelayedTask() argument
241 PostTask_Helper(from_here, task, delay_ms, false); in PostNonNestableDelayedTask()
361 Task* task = deferred_non_nestable_work_queue_.front().task; in ProcessNextDelayedNonNestableTask() local
364 RunTask(task); in ProcessNextDelayedNonNestableTask()
368 void MessageLoop::RunTask(Task* task) { in RunTask() argument
375 WillProcessTask(task)); in RunTask()
376 task->Run(); in RunTask()
377 FOR_EACH_OBSERVER(TaskObserver, task_observers_, DidProcessTask(task)); in RunTask()
378 delete task; in RunTask()
385 RunTask(pending_task.task); in DeferOrRunPendingTask()
440 delete pending_task.task; in DeletePendingTasks()
443 delete pending_task.task; in DeletePendingTasks()
451 Task* task = NULL; in DeletePendingTasks() local
453 task = deferred_non_nestable_work_queue_.front().task; in DeletePendingTasks()
456 task = deferred_non_nestable_work_queue_.front().task; in DeletePendingTasks()
459 if (task) in DeletePendingTasks()
460 delete task; in DeletePendingTasks()
464 Task* task = delayed_work_queue_.top().task; in DeletePendingTasks() local
466 delete task; in DeletePendingTasks()
473 const tracked_objects::Location& from_here, Task* task, int64 delay_ms, in PostTask_Helper() argument
475 task->SetBirthPlace(from_here); in PostTask_Helper()
477 PendingTask pending_task(task, nestable); in PostTask_Helper()
575 if (delayed_work_queue_.top().task == pending_task.task) in DoWork()