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

Unified Diff: chrome/browser/geolocation/wifi_data_provider_mac.cc

Issue 787003: First cut at implementing wifi bindigns for linux, using glib-dbus to Network... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 | « chrome/browser/geolocation/wifi_data_provider_linux.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/geolocation/wifi_data_provider_mac.cc
===================================================================
--- chrome/browser/geolocation/wifi_data_provider_mac.cc (revision 40894)
+++ chrome/browser/geolocation/wifi_data_provider_mac.cc (working copy)
@@ -28,6 +28,9 @@
Apple80211Api();
virtual ~Apple80211Api();
+ // Must be called before any other interface method. Will return false if the
+ // Apple80211 framework cannot be initialized (e.g. running on post-10.5 OSX),
+ // in which case no other method may be called.
bool Init();
// WlanApiInterface
@@ -42,6 +45,8 @@
WirelessDetachFunction WirelessDetach_function_;
WifiData wifi_data_;
+
+ DISALLOW_COPY_AND_ASSIGN(Apple80211Api);
};
Apple80211Api::Apple80211Api()
« no previous file with comments | « chrome/browser/geolocation/wifi_data_provider_linux.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698