Lines Matching defs:task_tracker_
35 CancelableTaskTracker task_tracker_;
90 ignore_result(task_tracker_.PostTask(worker_thread.message_loop_proxy().get(),
95 task_tracker_.PostTaskAndReply(worker_thread.message_loop_proxy().get(),
101 ignore_result(task_tracker_.NewTrackedTaskId(&is_canceled));
117 task_tracker_.PostTask(
125 task_tracker_.TryCancel(task_id);
138 task_tracker_.PostTaskAndReply(
145 task_tracker_.TryCancel(task_id);
158 task_tracker_.PostTaskAndReply(
167 task_tracker_.TryCancel(task_id);
178 task_tracker_.PostTaskAndReply(worker_thread.message_loop_proxy().get(),
184 task_tracker_.TryCancel(task_id);
201 task_tracker_.NewTrackedTaskId(&is_canceled);
212 task_tracker_.TryCancel(task_id);
229 ignore_result(task_tracker_.PostTask(
233 task_tracker_.PostTaskAndReply(test_task_runner.get(),
239 ignore_result(task_tracker_.NewTrackedTaskId(&is_canceled));
241 task_tracker_.TryCancelAll();
274 ignore_result(task_tracker_.NewTrackedTaskId(&is_canceled));
291 EXPECT_FALSE(task_tracker_.HasTrackedTasks());
293 ignore_result(task_tracker_.PostTask(
296 task_tracker_.TryCancelAll();
300 EXPECT_TRUE(task_tracker_.HasTrackedTasks());
304 EXPECT_FALSE(task_tracker_.HasTrackedTasks());
313 EXPECT_FALSE(task_tracker_.HasTrackedTasks());
316 task_tracker_.PostTaskAndReply(test_task_runner.get(),
321 task_tracker_.TryCancelAll();
325 EXPECT_TRUE(task_tracker_.HasTrackedTasks());
329 EXPECT_FALSE(task_tracker_.HasTrackedTasks());
335 EXPECT_FALSE(task_tracker_.HasTrackedTasks());
338 ignore_result(task_tracker_.NewTrackedTaskId(&is_canceled));
340 task_tracker_.TryCancelAll();
342 EXPECT_TRUE(task_tracker_.HasTrackedTasks());
346 EXPECT_FALSE(task_tracker_.HasTrackedTasks());
398 base::Unretained(&task_tracker_),
415 task_tracker_.PostTask(
424 base::Unretained(&task_tracker_),
438 task_tracker_.PostTask(
447 base::Unretained(&task_tracker_),