OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ | 5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ |
6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ | 6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
10 #include "content/browser/geolocation/wifi_data_provider_common.h" | 9 #include "content/browser/geolocation/wifi_data_provider_common.h" |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 | 11 |
13 namespace dbus { | 12 namespace dbus { |
14 class Bus; | 13 class Bus; |
15 }; | 14 }; |
16 | 15 |
17 class CONTENT_EXPORT WifiDataProviderLinux : public WifiDataProviderCommon { | 16 class CONTENT_EXPORT WifiDataProviderLinux : public WifiDataProviderCommon { |
18 public: | 17 public: |
19 WifiDataProviderLinux(); | 18 WifiDataProviderLinux(); |
20 | 19 |
21 private: | 20 private: |
22 friend class GeolocationWifiDataProviderLinuxTest; | 21 friend class GeolocationWifiDataProviderLinuxTest; |
23 | 22 |
24 virtual ~WifiDataProviderLinux(); | 23 virtual ~WifiDataProviderLinux(); |
25 | 24 |
26 // WifiDataProviderCommon | 25 // WifiDataProviderCommon |
27 virtual WlanApiInterface* NewWlanApi() OVERRIDE; | 26 virtual WlanApiInterface* NewWlanApi() OVERRIDE; |
28 virtual PollingPolicyInterface* NewPollingPolicy() OVERRIDE; | 27 virtual PollingPolicyInterface* NewPollingPolicy() OVERRIDE; |
29 | 28 |
30 // For testing. | 29 // For testing. |
31 WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus); | 30 WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus); |
32 | 31 |
33 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux); | 32 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux); |
34 }; | 33 }; |
35 | 34 |
36 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ | 35 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_ |
OLD | NEW |