Searched refs:CancelableTaskTracker (Results 1 – 3 of 3) sorted by relevance
56 const CancelableTaskTracker::TaskId CancelableTaskTracker::kBadTaskId = 0;58 CancelableTaskTracker::CancelableTaskTracker() in CancelableTaskTracker() function in base::CancelableTaskTracker61 CancelableTaskTracker::~CancelableTaskTracker() { in ~CancelableTaskTracker()67 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTask( in PostTask()76 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTaskAndReply( in PostTaskAndReply()93 BindOnce(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id); in PostTaskAndReply()106 CancelableTaskTracker::TaskId CancelableTaskTracker::NewTrackedTaskId( in NewTrackedTaskId()119 BindOnce(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id), in NewTrackedTaskId()135 void CancelableTaskTracker::TryCancel(TaskId id) { in TryCancel()151 void CancelableTaskTracker::TryCancelAll() { in TryCancelAll()[all …]
36 CancelableTaskTracker task_tracker_;96 CancelableTaskTracker::IsCanceledCallback is_canceled; in TEST_F()112 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F()114 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()130 CancelableTaskTracker::TaskId task_id = in TEST_F()135 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()149 CancelableTaskTracker::TaskId task_id = in TEST_F()154 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()168 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTaskAndReply( in TEST_F()171 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()[all …]
58 class BASE_EXPORT CancelableTaskTracker {66 CancelableTaskTracker();69 ~CancelableTaskTracker();151 WeakPtrFactory<CancelableTaskTracker> weak_factory_;153 DISALLOW_COPY_AND_ASSIGN(CancelableTaskTracker);