Home
last modified time | relevance | path

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

/external/libchrome/base/task/
Dcancelable_task_tracker.cc56 const CancelableTaskTracker::TaskId CancelableTaskTracker::kBadTaskId = 0;
58 CancelableTaskTracker::CancelableTaskTracker() in CancelableTaskTracker() function in base::CancelableTaskTracker
61 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 …]
Dcancelable_task_tracker_unittest.cc36 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 …]
Dcancelable_task_tracker.h58 class BASE_EXPORT CancelableTaskTracker {
66 CancelableTaskTracker();
69 ~CancelableTaskTracker();
151 WeakPtrFactory<CancelableTaskTracker> weak_factory_;
153 DISALLOW_COPY_AND_ASSIGN(CancelableTaskTracker);