Battery Status API: add UMA logging for Linux.
[chromium-blink-merge.git] / content / browser / geolocation / wifi_data_provider_linux.h
blob40f6f14e75f7cde6a9efb7f0e0c4a1b5d24cb34d
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 virtual ~WifiDataProviderLinux();
27 // WifiDataProviderCommon
28 virtual WlanApiInterface* NewWlanApi() OVERRIDE;
29 virtual 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_