Home
last modified time | relevance | path

Searched refs:pending_task (Results 1 – 2 of 2) sorted by relevance

/external/chromium/base/
Dmessage_loop.cc383 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) { in DeferOrRunPendingTask() argument
384 if (pending_task.nestable || state_->run_depth == 1) { in DeferOrRunPendingTask()
385 RunTask(pending_task.task); in DeferOrRunPendingTask()
393 deferred_non_nestable_work_queue_.push(pending_task); in DeferOrRunPendingTask()
397 void MessageLoop::AddToDelayedWorkQueue(const PendingTask& pending_task) { in AddToDelayedWorkQueue() argument
402 PendingTask new_pending_task(pending_task); in AddToDelayedWorkQueue()
428 PendingTask pending_task = work_queue_.front(); in DeletePendingTasks() local
430 if (!pending_task.delayed_run_time.is_null()) { in DeletePendingTasks()
434 AddToDelayedWorkQueue(pending_task); in DeletePendingTasks()
440 delete pending_task.task; in DeletePendingTasks()
[all …]
Dmessage_loop.h414 bool DeferOrRunPendingTask(const PendingTask& pending_task);
417 void AddToDelayedWorkQueue(const PendingTask& pending_task);