| Index: content/browser/geolocation/wifi_data_provider_linux.h
|
| diff --git a/content/browser/geolocation/wifi_data_provider_linux.h b/content/browser/geolocation/wifi_data_provider_linux.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..238c95a8f0d6cb7bbd54e112412201b2746cb277
|
| --- /dev/null
|
| +++ b/content/browser/geolocation/wifi_data_provider_linux.h
|
| @@ -0,0 +1,40 @@
|
| +// 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 CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
|
| +#define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "base/macros.h"
|
| +#include "content/browser/geolocation/wifi_data_provider_common.h"
|
| +#include "content/common/content_export.h"
|
| +
|
| +namespace dbus {
|
| +class Bus;
|
| +};
|
| +
|
| +namespace content {
|
| +
|
| +class CONTENT_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 content
|
| +
|
| +#endif // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
|
|
|