Searched refs:pending_task (Results 1 – 2 of 2) sorted by relevance
383 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) { in DeferOrRunPendingTask() argument384 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() argument402 PendingTask new_pending_task(pending_task); in AddToDelayedWorkQueue()428 PendingTask pending_task = work_queue_.front(); in DeletePendingTasks() local430 if (!pending_task.delayed_run_time.is_null()) { in DeletePendingTasks()434 AddToDelayedWorkQueue(pending_task); in DeletePendingTasks()440 delete pending_task.task; in DeletePendingTasks()[all …]
414 bool DeferOrRunPendingTask(const PendingTask& pending_task);417 void AddToDelayedWorkQueue(const PendingTask& pending_task);