Lines Matching full:tasks
58 // The tasks executed here may add more tasks to the vector. So copy
61 TaskList tasks;
62 tasks.swap(connect_done_tasks_);
63 RunAllTasksHelper(&tasks);
64 DCHECK(tasks.empty());
67 tasks.swap(connect_success_tasks_);
68 RunAllTasksHelper(&tasks);
69 DCHECK(tasks.empty());
73 tasks.swap(connect_failure_tasks_);
74 RunAllTasksHelper(&tasks);
75 DCHECK(tasks.empty());
100 // If the tasks are the same, then the same task needs to be invoked