Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(820)

Unified Diff: content/browser/geolocation/wifi_data_provider_linux.h

Issue 7725001: Rework wifi_data_provider_linux.cc with our D-Bus library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add expectation for shutdownandblock Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/DEPS ('k') | content/browser/geolocation/wifi_data_provider_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 978bd8fcf07ed09b4cd09012cafcecc63cb2ac31..434e6e5cf6febc114a91a8502d4392afdd5bcd87 100644
--- a/content/browser/geolocation/wifi_data_provider_linux.h
+++ b/content/browser/geolocation/wifi_data_provider_linux.h
@@ -8,17 +8,26 @@
#include "content/browser/geolocation/wifi_data_provider_common.h"
+namespace dbus {
+class Bus;
+};
+
class WifiDataProviderLinux : public WifiDataProviderCommon {
public:
WifiDataProviderLinux();
private:
+ friend class GeolocationWifiDataProviderLinuxTest;
+
virtual ~WifiDataProviderLinux();
// WifiDataProviderCommon
virtual WlanApiInterface* NewWlanApi();
virtual PollingPolicyInterface* NewPollingPolicy();
+ // For testing.
+ WlanApiInterface* NewWlanApiForTesting(dbus::Bus* bus);
+
DISALLOW_COPY_AND_ASSIGN(WifiDataProviderLinux);
};
« no previous file with comments | « content/DEPS ('k') | content/browser/geolocation/wifi_data_provider_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698