Searched refs:on_stop_discovery_callbacks_ (Results 1 – 4 of 4) sorted by relevance
104 on_stop_discovery_callbacks_.push_back(callback); in StopDiscovering()128 } else if (!on_stop_discovery_callbacks_.empty()) { in DiscoveryStarted()140 on_stop_discovery_callbacks_.begin(); in DiscoveryStopped()141 iter != on_stop_discovery_callbacks_.end(); in DiscoveryStopped()146 on_stop_discovery_callbacks_.clear(); in DiscoveryStopped()241 if (on_stop_discovery_callbacks_.size() < num_discovery_listeners_) { in MaybePostStopDiscoveryTask()243 on_stop_discovery_callbacks_.begin(); in MaybePostStopDiscoveryTask()244 iter != on_stop_discovery_callbacks_.end(); in MaybePostStopDiscoveryTask()248 num_discovery_listeners_ -= on_stop_discovery_callbacks_.size(); in MaybePostStopDiscoveryTask()249 on_stop_discovery_callbacks_.clear(); in MaybePostStopDiscoveryTask()
171 on_stop_discovery_callbacks_.push_back(289 RunCallbacks(on_stop_discovery_callbacks_, error == kIOReturnSuccess);291 on_stop_discovery_callbacks_.clear();313 if (on_stop_discovery_callbacks_.size() < num_discovery_listeners_) {314 RunCallbacks(on_stop_discovery_callbacks_, true);315 num_discovery_listeners_ -= on_stop_discovery_callbacks_.size();316 on_stop_discovery_callbacks_.clear();322 RunCallbacks(on_stop_discovery_callbacks_, false);323 on_stop_discovery_callbacks_.clear();
112 DiscoveryCallbackList on_stop_discovery_callbacks_; variable
106 std::vector<base::Closure> on_stop_discovery_callbacks_; variable