Blink roll 25b6bd3a7a131ffe68d809546ad1a20707915cdc:3a503f41ae42e5b79cfcd2ff10e65afde...
[chromium-blink-merge.git] / content / browser / geolocation / wifi_data_provider_linux.h
blob48584257da1780533062cb440ffa3a64781f87d8
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
8 #include "base/compiler_specific.h"
9 #include "content/browser/geolocation/wifi_data_provider_common.h"
10 #include "content/common/content_export.h"
12 namespace dbus {
13 class Bus;
16 namespace content {
18 class CONTENT_EXPORT WifiDataProviderLinux : public WifiDataProviderCommon {
19 public:
20 WifiDataProviderLinux();
22 private:
23 friend class GeolocationWifiDataProviderLinuxTest;
25 ~WifiDataProviderLinux() override;
27 // WifiDataProviderCommon
28 WlanApiInterface* NewWlanApi() override;
29 WifiPollingPolicy* NewPollingPolicy() override;
31 // For testing.
32 WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus);
34 DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux);
37 } // namespace content
39 #endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_