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

Unified Diff: content/browser/geolocation/empty_wifi_data_provider.cc

Issue 59323007: Make dbus-based wifi data provider optional on linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder gyp variable Created 7 years, 1 month 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 | « build/common.gypi ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/geolocation/empty_wifi_data_provider.cc
diff --git a/content/browser/geolocation/empty_wifi_data_provider.cc b/content/browser/geolocation/empty_wifi_data_provider.cc
index 7255f46fcc95b5ff19aae502bb31b0b7a1907ebc..d24213155d51329f49651d3bf8f5e063dac23fae 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
« no previous file with comments | « build/common.gypi ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698