Searched refs:task_observer (Results 1 – 6 of 6) sorted by relevance
51 TaskObserver task_observer; in RunBlockingPoolTask() local52 base::MessageLoop::current()->AddTaskObserver(&task_observer); in RunBlockingPoolTask()54 base::MessageLoop::current()->RemoveTaskObserver(&task_observer); in RunBlockingPoolTask()55 if (!task_observer.posted()) in RunBlockingPoolTask()
159 RendererMessageLoopObserver task_observer; in RendererMain() local171 main_message_loop.AddTaskObserver(&task_observer); in RendererMain()
291 void MessageLoop::AddTaskObserver(TaskObserver* task_observer) { in AddTaskObserver() argument293 task_observers_.AddObserver(task_observer); in AddTaskObserver()296 void MessageLoop::RemoveTaskObserver(TaskObserver* task_observer) { in RemoveTaskObserver() argument298 task_observers_.RemoveObserver(task_observer); in RemoveTaskObserver()
303 void AddTaskObserver(TaskObserver* task_observer);304 void RemoveTaskObserver(TaskObserver* task_observer);
377 void MessageLoop::AddTaskObserver(TaskObserver* task_observer) { in AddTaskObserver() argument379 task_observers_.AddObserver(task_observer); in AddTaskObserver()382 void MessageLoop::RemoveTaskObserver(TaskObserver* task_observer) { in RemoveTaskObserver() argument384 task_observers_.RemoveObserver(task_observer); in RemoveTaskObserver()
400 void AddTaskObserver(TaskObserver* task_observer);401 void RemoveTaskObserver(TaskObserver* task_observer);