- add sources.
[platform/framework/web/crosswalk.git] / src / content / browser / geolocation / wifi_data_provider_linux.h
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.
4
5 #ifndef CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
6 #define CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/browser/geolocation/wifi_data_provider_common.h"
10 #include "content/common/content_export.h"
11
12 namespace dbus {
13 class Bus;
14 };
15
16 namespace content {
17
18 class CONTENT_EXPORT WifiDataProviderLinux : public WifiDataProviderCommon {
19  public:
20   WifiDataProviderLinux();
21
22  private:
23   friend class GeolocationWifiDataProviderLinuxTest;
24
25   virtual ~WifiDataProviderLinux();
26
27   // WifiDataProviderCommon
28   virtual WlanApiInterface* NewWlanApi() OVERRIDE;
29   virtual WifiPollingPolicy* NewPollingPolicy() OVERRIDE;
30
31   // For testing.
32   WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus);
33
34   DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux);
35 };
36
37 }  // namespace content
38
39 #endif  // CONTENT_BROWSER_GEOLOCATION_WIFI_DATA_PROVIDER_LINUX_H_