| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_REGISTRY_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_REGISTRY_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_REGISTRY_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
| 16 #include "chrome/browser/extensions/api/mdns/dns_sd_delegate.h" | 16 #include "chrome/browser/extensions/api/mdns/dns_sd_delegate.h" |
| 17 | 17 |
| 18 namespace local_discovery { | 18 namespace local_discovery { |
| 19 class ServiceDiscoverySharedClient; | 19 class ServiceDiscoverySharedClient; |
| 20 class ServiceDiscoveryClient; | |
| 21 } | 20 } |
| 22 | 21 |
| 23 namespace extensions { | 22 namespace extensions { |
| 24 | 23 |
| 25 class DnsSdDeviceLister; | 24 class DnsSdDeviceLister; |
| 26 class ServiceTypeData; | 25 class ServiceTypeData; |
| 27 | 26 |
| 28 // Registry class for keeping track of discovered network services over DNS-SD. | 27 // Registry class for keeping track of discovered network services over DNS-SD. |
| 29 class DnsSdRegistry : public DnsSdDelegate { | 28 class DnsSdRegistry : public DnsSdDelegate { |
| 30 public: | 29 public: |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 scoped_refptr<local_discovery::ServiceDiscoverySharedClient> | 114 scoped_refptr<local_discovery::ServiceDiscoverySharedClient> |
| 116 service_discovery_client_; | 115 service_discovery_client_; |
| 117 base::ObserverList<DnsSdObserver> observers_; | 116 base::ObserverList<DnsSdObserver> observers_; |
| 118 | 117 |
| 119 DISALLOW_COPY_AND_ASSIGN(DnsSdRegistry); | 118 DISALLOW_COPY_AND_ASSIGN(DnsSdRegistry); |
| 120 }; | 119 }; |
| 121 | 120 |
| 122 } // namespace extensions | 121 } // namespace extensions |
| 123 | 122 |
| 124 #endif // CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_REGISTRY_H_ | 123 #endif // CHROME_BROWSER_EXTENSIONS_API_MDNS_DNS_SD_REGISTRY_H_ |
| OLD | NEW |