HomeSort by relevance Sort by last modified time
    Searched refs:DialRegistry (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/chrome/browser/extensions/api/dial/
dial_api.h 18 class DialRegistry;
26 public DialRegistry::Observer {
30 // The DialRegistry for the API. This must always be used only from the IO
32 DialRegistry* dial_registry();
34 // Called by the DialRegistry on the IO thread so that the DialAPI dispatches
36 void SendEventOnUIThread(const DialRegistry::DeviceList& devices);
37 void SendErrorOnUIThread(const DialRegistry::DialErrorCode type);
49 // DialRegistry::Observer:
51 const DialRegistry::DeviceList& devices) OVERRIDE;
52 virtual void OnDialError(DialRegistry::DialErrorCode type) OVERRIDE
    [all...]
dial_registry.cc 25 DialRegistry::DialRegistry(Observer* dial_api,
43 DialRegistry::~DialRegistry() {
49 DialService* DialRegistry::CreateDialService() {
54 void DialRegistry::ClearDialService() {
58 base::Time DialRegistry::Now() const {
62 void DialRegistry::OnListenerAdded() {
70 void DialRegistry::OnListenerRemoved() {
79 bool DialRegistry::ReadyToDiscover()
    [all...]
dial_api.cc 48 DialRegistry* DialAPI::dial_registry() {
51 dial_registry_.reset(new DialRegistry(this,
85 void DialAPI::OnDialDeviceEvent(const DialRegistry::DeviceList& devices) {
91 void DialAPI::OnDialError(const DialRegistry::DialErrorCode code) {
97 void DialAPI::SendEventOnUIThread(const DialRegistry::DeviceList& devices) {
101 for (DialRegistry::DeviceList::const_iterator it = devices.begin();
114 void DialAPI::SendErrorOnUIThread(const DialRegistry::DialErrorCode code) {
119 case DialRegistry::DIAL_NO_LISTENERS:
122 case DialRegistry::DIAL_NO_INTERFACES:
125 case DialRegistry::DIAL_CELLULAR_NETWORK
    [all...]
dial_registry.h 29 class DialRegistry : public DialService::Observer,
56 DialRegistry(Observer* dial_api,
61 virtual ~DialRegistry();
169 base::RepeatingTimer<DialRegistry> repeating_timer_;
188 DISALLOW_COPY_AND_ASSIGN(DialRegistry);
dial_registry_unittest.cc 24 class MockDialObserver : public DialRegistry::Observer {
27 void(const DialRegistry::DeviceList& devices));
28 MOCK_METHOD1(OnDialError, void(DialRegistry::DialErrorCode type));
41 class MockDialRegistry : public DialRegistry {
47 : DialRegistry(dial_api, refresh_interval, expiration, max_devices) {
52 // Don't let the DialRegistry delete this.
105 const DialRegistry::DeviceList empty_list_;
106 DialRegistry::DeviceList list_with_first_device_;
107 DialRegistry::DeviceList list_with_second_device_;
153 DialRegistry::DeviceList expected_list2
    [all...]
dial_apitest.cc 53 extensions::DialRegistry::DeviceList devices;

Completed in 43 milliseconds