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