| 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_SHARED_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_SHARED_CLIENT_H_ |
| 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_SHARED_CLIENT_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_SHARED_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "chrome/common/local_discovery/service_discovery_client.h" | 9 #include "chrome/common/local_discovery/service_discovery_client.h" |
| 9 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
| 10 | 11 |
| 11 namespace local_discovery { | 12 namespace local_discovery { |
| 12 | 13 |
| 13 class ServiceDiscoverySharedClient | 14 class ServiceDiscoverySharedClient |
| 14 : public base::RefCountedThreadSafe< | 15 : public base::RefCountedThreadSafe< |
| 15 ServiceDiscoverySharedClient, | 16 ServiceDiscoverySharedClient, |
| 16 content::BrowserThread::DeleteOnUIThread>, | 17 content::BrowserThread::DeleteOnUIThread>, |
| 17 public ServiceDiscoveryClient { | 18 public ServiceDiscoveryClient { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 30 friend struct content::BrowserThread::DeleteOnThread< | 31 friend struct content::BrowserThread::DeleteOnThread< |
| 31 content::BrowserThread::UI>; | 32 content::BrowserThread::UI>; |
| 32 friend class base::DeleteHelper<ServiceDiscoverySharedClient>; | 33 friend class base::DeleteHelper<ServiceDiscoverySharedClient>; |
| 33 | 34 |
| 34 DISALLOW_COPY_AND_ASSIGN(ServiceDiscoverySharedClient); | 35 DISALLOW_COPY_AND_ASSIGN(ServiceDiscoverySharedClient); |
| 35 }; | 36 }; |
| 36 | 37 |
| 37 } // namespace local_discovery | 38 } // namespace local_discovery |
| 38 | 39 |
| 39 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_SHARED_CLIENT_H_ | 40 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_SERVICE_DISCOVERY_SHARED_CLIENT_H_ |
| OLD | NEW |