Home
last modified time | relevance | path

Searched refs:CancelableTaskTracker (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/task/
Dcancelable_task_tracker.cc63 const CancelableTaskTracker::TaskId CancelableTaskTracker::kBadTaskId = 0;
65 CancelableTaskTracker::CancelableTaskTracker() in CancelableTaskTracker() function in base::CancelableTaskTracker
68 CancelableTaskTracker::~CancelableTaskTracker() { in ~CancelableTaskTracker()
74 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTask( in PostTask()
83 CancelableTaskTracker::TaskId CancelableTaskTracker::PostTaskAndReply( in PostTaskAndReply()
100 Bind(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id); in PostTaskAndReply()
116 CancelableTaskTracker::TaskId CancelableTaskTracker::NewTrackedTaskId( in NewTrackedTaskId()
129 Bind(&CancelableTaskTracker::Untrack, weak_factory_.GetWeakPtr(), id), in NewTrackedTaskId()
145 void CancelableTaskTracker::TryCancel(TaskId id) { in TryCancel()
161 void CancelableTaskTracker::TryCancelAll() { in TryCancelAll()
[all …]
Dcancelable_task_tracker_unittest.cc35 CancelableTaskTracker task_tracker_;
95 CancelableTaskTracker::IsCanceledCallback is_canceled; in TEST_F()
111 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTask( in TEST_F()
113 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()
129 CancelableTaskTracker::TaskId task_id = in TEST_F()
134 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()
148 CancelableTaskTracker::TaskId task_id = in TEST_F()
153 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()
167 CancelableTaskTracker::TaskId task_id = task_tracker_.PostTaskAndReply( in TEST_F()
170 EXPECT_NE(CancelableTaskTracker::kBadTaskId, task_id); in TEST_F()
[all …]
Dcancelable_task_tracker.h58 class BASE_EXPORT CancelableTaskTracker {
66 CancelableTaskTracker();
69 ~CancelableTaskTracker();
135 base::WeakPtrFactory<CancelableTaskTracker> weak_factory_;
137 DISALLOW_COPY_AND_ASSIGN(CancelableTaskTracker);