Home
last modified time | relevance | path

Searched refs:CancellationFlag (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/base/task/
Dcancelable_task_tracker.cc22 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()
Dcancelable_task_tracker.h55 class CancellationFlag; variable
127 void Track(TaskId id, base::CancellationFlag* flag);
130 base::hash_map<TaskId, base::CancellationFlag*> task_flags_;
/external/libchrome/base/synchronization/
Dcancellation_flag.h20 class BASE_EXPORT CancellationFlag {
22 CancellationFlag() : flag_(false) { in CancellationFlag() function
27 ~CancellationFlag() {} in ~CancellationFlag()
44 DISALLOW_COPY_AND_ASSIGN(CancellationFlag);
Dcancellation_flag_unittest.cc27 void CancelHelper(CancellationFlag* flag) { in CancelHelper()
34 CancellationFlag flag; in TEST()
41 CancellationFlag flag; in TEST()
59 CancellationFlag flag; in TEST()
Dcancellation_flag.cc11 void CancellationFlag::Set() { in Set()
18 bool CancellationFlag::IsSet() const { in IsSet()
22 void CancellationFlag::UnsafeResetForTesting() { in UnsafeResetForTesting()
/external/libchrome/base/trace_event/
Dtrace_sampling_thread.h47 CancellationFlag cancellation_flag_;