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