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_LOCAL_DISCOVERY_SERVICE_DISCOVERY_DEVICE_LISTER_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_DEVICE_LISTER_H_ |
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_DEVICE_LISTER_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_DEVICE_LISTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "chrome/common/local_discovery/service_discovery_client.h" | 15 #include "chrome/common/local_discovery/service_discovery_client.h" |
15 | 16 |
16 namespace local_discovery { | 17 namespace local_discovery { |
17 | 18 |
18 class ServiceDiscoveryDeviceLister { | 19 class ServiceDiscoveryDeviceLister { |
19 public: | 20 public: |
20 class Delegate { | 21 class Delegate { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ServiceResolverMap resolvers_; | 62 ServiceResolverMap resolvers_; |
62 | 63 |
63 base::WeakPtrFactory<ServiceDiscoveryDeviceLister> weak_factory_; | 64 base::WeakPtrFactory<ServiceDiscoveryDeviceLister> weak_factory_; |
64 | 65 |
65 DISALLOW_COPY_AND_ASSIGN(ServiceDiscoveryDeviceLister); | 66 DISALLOW_COPY_AND_ASSIGN(ServiceDiscoveryDeviceLister); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace local_discovery | 69 } // namespace local_discovery |
69 | 70 |
70 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_DEVICE_LISTER_H_ | 71 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_DEVICE_LISTER_H_ |
OLD | NEW |