Searched refs:CancellationFlag (Results 1 – 18 of 18) sorted by relevance
19 using base::CancellationFlag;26 void RunIfNotCanceled(const CancellationFlag* flag, const Closure& task) { in RunIfNotCanceled()31 void RunIfNotCanceledThenUntrack(const CancellationFlag* flag, in RunIfNotCanceledThenUntrack()38 bool IsCanceled(const CancellationFlag* flag, in IsCanceled()43 void RunAndDeleteFlag(const Closure& closure, const CancellationFlag* flag) { in RunAndDeleteFlag()90 CancellationFlag* flag = new CancellationFlag(); in PostTaskAndReply()119 CancellationFlag* flag = new CancellationFlag(); in NewTrackedTaskId()143 hash_map<TaskId, CancellationFlag*>::const_iterator it = task_flags_.find(id); in TryCancel()159 for (hash_map<TaskId, CancellationFlag*>::const_iterator it = in TryCancelAll()172 void CancelableTaskTracker::Track(TaskId id, CancellationFlag* flag) { in Track()
44 class CancellationFlag; variable103 void Track(TaskId id, base::CancellationFlag* flag);106 base::hash_map<TaskId, base::CancellationFlag*> task_flags_;
27 explicit CancelTask(CancellationFlag* flag) : flag_(flag) {} in CancelTask()32 CancellationFlag* flag_;36 CancellationFlag flag; in TEST()43 CancellationFlag flag; in TEST()61 CancellationFlag flag; in TEST()
20 class BASE_API CancellationFlag {22 CancellationFlag() : flag_(false) { in CancellationFlag() function27 ~CancellationFlag() {} in ~CancellationFlag()39 DISALLOW_COPY_AND_ASSIGN(CancellationFlag);
11 void CancellationFlag::Set() { in Set()18 bool CancellationFlag::IsSet() const { in IsSet()
19 class BASE_EXPORT CancellationFlag {21 CancellationFlag() : flag_(false) { in CancellationFlag() function26 ~CancellationFlag() {} in ~CancellationFlag()38 DISALLOW_COPY_AND_ASSIGN(CancellationFlag);
26 void CancelHelper(CancellationFlag* flag) { in CancelHelper()33 CancellationFlag flag; in TEST()40 CancellationFlag flag; in TEST()58 CancellationFlag flag; in TEST()
38 base::CancellationFlag cancelled_;
110 base::CancellationFlag canceled_;
92 base::CancellationFlag cancel_flag_;
146 base::CancellationFlag* cancel_vsync_flag() { in cancel_vsync_flag()223 base::CancellationFlag cancel_vsync_flag_;290 base::CancellationFlag* cancel_vsync_flag_;
117 base::CancellationFlag cancel_flag;
118 base::CancellationFlag cancellation_flag_;
133 base::CancellationFlag cancel_flag_;
220 base::CancellationFlag cancelled_;
607 base::CancellationFlag canceled_;
862 CancellationFlag cancellation_flag_;