Home
last modified time | relevance | path

Searched refs:remove_queue_ (Results 1 – 3 of 3) sorted by relevance

/external/libweave/src/commands/
Dcommand_queue.cc98 remove_queue_.push(std::make_pair(clock_->Now() + remove_delay, id)); in RemoveLater()
99 if (remove_queue_.size() == 1) { in RemoveLater()
119 while (!remove_queue_.empty() && remove_queue_.top().first <= cutoff_time) { in Cleanup()
120 Remove(remove_queue_.top().second); in Cleanup()
121 remove_queue_.pop(); in Cleanup()
136 if (!remove_queue_.empty()) in PerformScheduledCleanup()
137 ScheduleCleanup(remove_queue_.top().first - now); in PerformScheduledCleanup()
Dcommand_queue.h91 InversePriorityQueue<std::pair<base::Time, std::string>> remove_queue_; variable
Dcommand_queue_unittest.cc43 return queue_.remove_queue_.top().second; in GetFirstCommandToBeRemoved()