Home | History | Annotate | Download | only in message_loops

Lines Matching defs:closure

34 using base::Closure;
70 if (delayed_task.second.closure.is_null()) {
85 const Closure &task,
109 const Closure &task) {
183 if (delayed_task_it->second.closure.is_null())
188 // We reset to closure to a null Closure to release all the resources
189 // used by this closure at this point, but we don't remove the task_id from
191 delayed_task_it->second.closure = Closure();
205 // If the flag was reset to false, it means a closure was run.
228 Closure BaseMessageLoop::QuitClosure() const {
248 if (!task_it->second.closure.is_null()) {
254 Closure closure = std::move(task_it->second.closure);
255 task_it->second.closure = Closure();
256 closure.Run();
316 const Closure& task)
383 // If this task was already canceled, the closure will be null and there is
408 Closure closure_copy = std::move(closure_);
410 // Run the closure from the local copy we just made.
434 // it is not watching for the file descriptor. We release the closure
437 closure_ = Closure();