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.cc138 const auto it = task_flags_.find(id); in TryCancel()
139 if (it == task_flags_.end()) { in TryCancel()
153 for (const auto& it : task_flags_) in TryCancelAll()
156 task_flags_.clear(); in TryCancelAll()
161 return !task_flags_.empty(); in HasTrackedTasks()
166 bool success = task_flags_.insert(std::make_pair(id, flag)).second; in Track()
172 size_t num = task_flags_.erase(id); in Untrack()
Dcancelable_task_tracker.h146 small_map<std::map<TaskId, CancellationFlag*>, 4> task_flags_; variable