summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/empty_wifi_data_provider.cc
diff options
context:
space:
mode:
authorspang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 20:44:52 +0000
committerspang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-13 20:44:52 +0000
commit61955d92607f1ade2596f52e114959469f121683 (patch)
treebdebf82e68031c842457c3b5d63ea42efb348d6c /content/browser/geolocation/empty_wifi_data_provider.cc
parent164c5145ddab56c364c25973225f8204339b2fdd (diff)
downloadchromium_src-61955d92607f1ade2596f52e114959469f121683.zip
chromium_src-61955d92607f1ade2596f52e114959469f121683.tar.gz
chromium_src-61955d92607f1ade2596f52e114959469f121683.tar.bz2
Make dbus-based wifi data provider optional on linux
The linux wifi data provider adds an external dependency on libdbus. This prevents building content_browser on linux systems that don't include it (particularly embedded ones such as chromecast). Introduce use_dbus gyp variable and remove this dependency when use_dbus==0. BUG=318315,318413 Review URL: https://codereview.chromium.org/59323007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/geolocation/empty_wifi_data_provider.cc')
-rw-r--r--content/browser/geolocation/empty_wifi_data_provider.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/content/browser/geolocation/empty_wifi_data_provider.cc b/content/browser/geolocation/empty_wifi_data_provider.cc
index 7255f46..d2421315 100644
--- a/content/browser/geolocation/empty_wifi_data_provider.cc
+++ b/content/browser/geolocation/empty_wifi_data_provider.cc
@@ -18,12 +18,9 @@ bool EmptyWifiDataProvider::GetData(WifiData* data) {
return true;
}
-// Only define for platforms that lack a real wifi data provider.
-#if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX)
// static
WifiDataProviderImplBase* WifiDataProvider::DefaultFactoryFunction() {
return new EmptyWifiDataProvider();
}
-#endif
} // namespace content