Home
last modified time | relevance | path

Searched refs:task_flags_ (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/task/
Dcancelable_task_tracker.cc148 hash_map<TaskId, CancellationFlag*>::const_iterator it = task_flags_.find(id); in TryCancel()
149 if (it == task_flags_.end()) { in TryCancel()
165 task_flags_.begin(); in TryCancelAll()
166 it != task_flags_.end(); in TryCancelAll()
174 return !task_flags_.empty(); in HasTrackedTasks()
180 bool success = task_flags_.insert(std::make_pair(id, flag)).second; in Track()
186 size_t num = task_flags_.erase(id); in Untrack()
Dcancelable_task_tracker.h130 base::hash_map<TaskId, base::CancellationFlag*> task_flags_; variable