| 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/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
| 15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
| 16 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" | 16 #include "chrome/browser/local_discovery/service_discovery_shared_client.h" |
| 17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
| 18 | 18 |
| 19 namespace base { | 19 namespace base { |
| 20 class Thread; | 20 class Thread; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace local_discovery { | 23 namespace local_discovery { |
| 24 | 24 |
| 25 template <class T> | 25 template <class T> |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 ServiceDiscoveryThreadDeleter<NetServiceContainer>> | 187 ServiceDiscoveryThreadDeleter<NetServiceContainer>> |
| 188 container_; | 188 container_; |
| 189 base::WeakPtrFactory<ServiceResolverImplMac> weak_factory_; | 189 base::WeakPtrFactory<ServiceResolverImplMac> weak_factory_; |
| 190 | 190 |
| 191 DISALLOW_COPY_AND_ASSIGN(ServiceResolverImplMac); | 191 DISALLOW_COPY_AND_ASSIGN(ServiceResolverImplMac); |
| 192 }; | 192 }; |
| 193 | 193 |
| 194 } // namespace local_discovery | 194 } // namespace local_discovery |
| 195 | 195 |
| 196 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ | 196 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_CLIENT_MAC_H_ |
| OLD | NEW |