Searched refs:CancellationFlag (Results 1 – 6 of 6) sorted by relevance
22 using base::CancellationFlag;29 void RunIfNotCanceled(const CancellationFlag* flag, const Closure& task) { in RunIfNotCanceled()34 void RunIfNotCanceledThenUntrack(const CancellationFlag* flag, in RunIfNotCanceledThenUntrack()41 bool IsCanceled(const CancellationFlag* flag, in IsCanceled()46 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) { in RunAndDeleteFlag()94 CancellationFlag* flag = new CancellationFlag(); in PostTaskAndReply()125 CancellationFlag* flag = new CancellationFlag(); in NewTrackedTaskId()148 hash_map<TaskId, CancellationFlag*>::const_iterator it = task_flags_.find(id); in TryCancel()164 for (hash_map<TaskId, CancellationFlag*>::const_iterator it = in TryCancelAll()177 void CancelableTaskTracker::Track(TaskId id, CancellationFlag* flag) { in Track()
55 class CancellationFlag; variable127 void Track(TaskId id, base::CancellationFlag* flag);130 base::hash_map<TaskId, base::CancellationFlag*> task_flags_;
20 class BASE_EXPORT CancellationFlag {22 CancellationFlag() : flag_(false) { in CancellationFlag() function27 ~CancellationFlag() {} in ~CancellationFlag()44 DISALLOW_COPY_AND_ASSIGN(CancellationFlag);
27 void CancelHelper(CancellationFlag* flag) { in CancelHelper()34 CancellationFlag flag; in TEST()41 CancellationFlag flag; in TEST()59 CancellationFlag flag; in TEST()
11 void CancellationFlag::Set() { in Set()18 bool CancellationFlag::IsSet() const { in IsSet()22 void CancellationFlag::UnsafeResetForTesting() { in UnsafeResetForTesting()
47 CancellationFlag cancellation_flag_;