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_CLIENT_MAC_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ |
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ |
7 | 7 |
8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/mac/scoped_nsobject.h" | 11 #include "base/mac/scoped_nsobject.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
14 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
15 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" | 16 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" |
16 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class Thread; | 20 class Thread; |
20 } | 21 } |
21 | 22 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 scoped_ptr<NetServiceContainer, | 186 scoped_ptr<NetServiceContainer, |
186 ServiceDiscoveryThreadDeleter<NetServiceContainer> > container_; | 187 ServiceDiscoveryThreadDeleter<NetServiceContainer> > container_; |
187 base::WeakPtrFactory<ServiceResolverImplMac> weak_factory_; | 188 base::WeakPtrFactory<ServiceResolverImplMac> weak_factory_; |
188 | 189 |
189 DISALLOW_COPY_AND_ASSIGN(ServiceResolverImplMac); | 190 DISALLOW_COPY_AND_ASSIGN(ServiceResolverImplMac); |
190 }; | 191 }; |
191 | 192 |
192 } // namespace local_discovery | 193 } // namespace local_discovery |
193 | 194 |
194 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ | 195 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ |
OLD | NEW |