blob: 238682111984273821ec663bbf8906db299253cc [file] [log] [blame]
// 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 implementation
std::unique_ptr<WlanApiInterface> CreateWlanApi() override;
std::unique_ptr<WifiPollingPolicy> CreatePollingPolicy() override;
std::unique_ptr<WlanApiInterface> CreateWlanApiForTesting(dbus::Bus* bus);
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux);
};
} // namespace device
#endif // DEVICE_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_