forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwifi_data_provider_linux.h
41 lines (29 loc) · 1.05 KB
/
wifi_data_provider_linux.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
#define DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "device/geolocation/geolocation_export.h"
#include "device/geolocation/wifi_data_provider_common.h"
namespace dbus {
class Bus;
};
namespace device {
class DEVICE_GEOLOCATION_EXPORT WifiDataProviderLinux
: public WifiDataProviderCommon {
public:
WifiDataProviderLinux();
private:
friend class GeolocationWifiDataProviderLinuxTest;
~WifiDataProviderLinux() override;
// WifiDataProviderCommon
WlanApiInterface* NewWlanApi() override;
WifiPollingPolicy* NewPollingPolicy() override;
// For testing.
WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus);
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux);
};
} // namespace device
#endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_