DialRegistry 48 chrome/browser/extensions/api/dial/dial_api.cc DialRegistry* DialAPI::dial_registry() { DialRegistry 51 chrome/browser/extensions/api/dial/dial_api.cc dial_registry_.reset(new DialRegistry(this, DialRegistry 85 chrome/browser/extensions/api/dial/dial_api.cc void DialAPI::OnDialDeviceEvent(const DialRegistry::DeviceList& devices) { DialRegistry 91 chrome/browser/extensions/api/dial/dial_api.cc void DialAPI::OnDialError(const DialRegistry::DialErrorCode code) { DialRegistry 97 chrome/browser/extensions/api/dial/dial_api.cc void DialAPI::SendEventOnUIThread(const DialRegistry::DeviceList& devices) { DialRegistry 101 chrome/browser/extensions/api/dial/dial_api.cc for (DialRegistry::DeviceList::const_iterator it = devices.begin(); DialRegistry 115 chrome/browser/extensions/api/dial/dial_api.cc void DialAPI::SendErrorOnUIThread(const DialRegistry::DialErrorCode code) { DialRegistry 120 chrome/browser/extensions/api/dial/dial_api.cc case DialRegistry::DIAL_NO_LISTENERS: DialRegistry 123 chrome/browser/extensions/api/dial/dial_api.cc case DialRegistry::DIAL_NO_INTERFACES: DialRegistry 126 chrome/browser/extensions/api/dial/dial_api.cc case DialRegistry::DIAL_CELLULAR_NETWORK: DialRegistry 129 chrome/browser/extensions/api/dial/dial_api.cc case DialRegistry::DIAL_NETWORK_DISCONNECTED: DialRegistry 132 chrome/browser/extensions/api/dial/dial_api.cc case DialRegistry::DIAL_SOCKET_ERROR: DialRegistry 18 chrome/browser/extensions/api/dial/dial_api.h class DialRegistry; DialRegistry 26 chrome/browser/extensions/api/dial/dial_api.h public DialRegistry::Observer { DialRegistry 32 chrome/browser/extensions/api/dial/dial_api.h DialRegistry* dial_registry(); DialRegistry 36 chrome/browser/extensions/api/dial/dial_api.h void SendEventOnUIThread(const DialRegistry::DeviceList& devices); DialRegistry 37 chrome/browser/extensions/api/dial/dial_api.h void SendErrorOnUIThread(const DialRegistry::DialErrorCode type); DialRegistry 51 chrome/browser/extensions/api/dial/dial_api.h const DialRegistry::DeviceList& devices) OVERRIDE; DialRegistry 52 chrome/browser/extensions/api/dial/dial_api.h virtual void OnDialError(DialRegistry::DialErrorCode type) OVERRIDE; DialRegistry 62 chrome/browser/extensions/api/dial/dial_api.h scoped_ptr<DialRegistry> dial_registry_; DialRegistry 53 chrome/browser/extensions/api/dial/dial_apitest.cc extensions::DialRegistry::DeviceList devices; DialRegistry 25 chrome/browser/extensions/api/dial/dial_registry.cc DialRegistry::DialRegistry(Observer* dial_api, DialRegistry 43 chrome/browser/extensions/api/dial/dial_registry.cc DialRegistry::~DialRegistry() { DialRegistry 49 chrome/browser/extensions/api/dial/dial_registry.cc DialService* DialRegistry::CreateDialService() { DialRegistry 54 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::ClearDialService() { DialRegistry 58 chrome/browser/extensions/api/dial/dial_registry.cc base::Time DialRegistry::Now() const { DialRegistry 62 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnListenerAdded() { DialRegistry 70 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnListenerRemoved() { DialRegistry 79 chrome/browser/extensions/api/dial/dial_registry.cc bool DialRegistry::ReadyToDiscover() { DialRegistry 96 chrome/browser/extensions/api/dial/dial_registry.cc bool DialRegistry::DiscoverNow() { DialRegistry 112 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::StartPeriodicDiscovery() { DialRegistry 123 chrome/browser/extensions/api/dial/dial_registry.cc &DialRegistry::DoDiscovery); DialRegistry 126 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::DoDiscovery() { DialRegistry 134 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::StopPeriodicDiscovery() { DialRegistry 144 chrome/browser/extensions/api/dial/dial_registry.cc bool DialRegistry::PruneExpiredDevices() { DialRegistry 164 chrome/browser/extensions/api/dial/dial_registry.cc bool DialRegistry::IsDeviceExpired(const DialDeviceData& device) const { DialRegistry 182 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::Clear() { DialRegistry 189 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::MaybeSendEvent() { DialRegistry 218 chrome/browser/extensions/api/dial/dial_registry.cc std::string DialRegistry::NextLabel() { DialRegistry 223 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnDiscoveryRequest(DialService* service) { DialRegistry 228 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnDeviceDiscovered(DialService* service, DialRegistry 260 chrome/browser/extensions/api/dial/dial_registry.cc bool DialRegistry::MaybeAddDevice( DialRegistry 275 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnDiscoveryFinished(DialService* service) { DialRegistry 282 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnError(DialService* service, DialRegistry 299 chrome/browser/extensions/api/dial/dial_registry.cc void DialRegistry::OnNetworkChanged( DialRegistry 29 chrome/browser/extensions/api/dial/dial_registry.h class DialRegistry : public DialService::Observer, DialRegistry 56 chrome/browser/extensions/api/dial/dial_registry.h DialRegistry(Observer* dial_api, DialRegistry 61 chrome/browser/extensions/api/dial/dial_registry.h virtual ~DialRegistry(); DialRegistry 169 chrome/browser/extensions/api/dial/dial_registry.h base::RepeatingTimer<DialRegistry> repeating_timer_; DialRegistry 188 chrome/browser/extensions/api/dial/dial_registry.h DISALLOW_COPY_AND_ASSIGN(DialRegistry); DialRegistry 24 chrome/browser/extensions/api/dial/dial_registry_unittest.cc class MockDialObserver : public DialRegistry::Observer { DialRegistry 27 chrome/browser/extensions/api/dial/dial_registry_unittest.cc void(const DialRegistry::DeviceList& devices)); DialRegistry 28 chrome/browser/extensions/api/dial/dial_registry_unittest.cc MOCK_METHOD1(OnDialError, void(DialRegistry::DialErrorCode type)); DialRegistry 41 chrome/browser/extensions/api/dial/dial_registry_unittest.cc class MockDialRegistry : public DialRegistry { DialRegistry 47 chrome/browser/extensions/api/dial/dial_registry_unittest.cc : DialRegistry(dial_api, refresh_interval, expiration, max_devices) { DialRegistry 105 chrome/browser/extensions/api/dial/dial_registry_unittest.cc const DialRegistry::DeviceList empty_list_; DialRegistry 106 chrome/browser/extensions/api/dial/dial_registry_unittest.cc DialRegistry::DeviceList list_with_first_device_; DialRegistry 107 chrome/browser/extensions/api/dial/dial_registry_unittest.cc DialRegistry::DeviceList list_with_second_device_; DialRegistry 153 chrome/browser/extensions/api/dial/dial_registry_unittest.cc DialRegistry::DeviceList expected_list2; DialRegistry 293 chrome/browser/extensions/api/dial/dial_registry_unittest.cc DialRegistry::DIAL_NETWORK_DISCONNECTED)).Times(1); DialRegistry 310 chrome/browser/extensions/api/dial/dial_registry_unittest.cc DialRegistry::DeviceList expected_list3; DialRegistry 332 chrome/browser/extensions/api/dial/dial_registry_unittest.cc OnDialError(DialRegistry::DIAL_NETWORK_DISCONNECTED))