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

Issue 669083: Add support for geolocation wifi scanning on OSX 10.6... (Closed)

Created:
10 years, 9 months ago by joth
Modified:
9 years, 7 months ago
CC:
chromium-reviews, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org, steveblock, nicolasroard_google.com, bulach
Visibility:
Public.

Description

Add support for geolocation wifi scanning on OSX 10.6 BUG=http://crbug.com/37198 TEST=Run browser with --enable-geolocation on OSX 10.6, open maps.google.com Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=40891

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 9

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 3

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -33 lines) Patch
A chrome/browser/geolocation/wifi_data_provider_corewlan_mac.mm View 1 2 3 4 1 chunk +156 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/wifi_data_provider_mac.h View 1 2 3 1 chunk +11 lines, -4 lines 0 comments Download
M chrome/browser/geolocation/wifi_data_provider_mac.cc View 1 2 3 4 5 8 chunks +33 lines, -29 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
joth
Jeremy, Mike Would one of you be able to take a look over this change ...
10 years, 9 months ago (2010-03-04 21:33:31 UTC) #1
jorlow
Non .mm parts LGTM. Pink, can you take a look at the .mm parts?
10 years, 9 months ago (2010-03-05 11:20:07 UTC) #2
pink (ping after 24hrs)
Will do this morning, just getting through a few things for SoC. On Fri, Mar ...
10 years, 9 months ago (2010-03-05 14:07:07 UTC) #3
pink (ping after 24hrs)
Pretty good, but a few changes requested. I'll take one more pass after you make ...
10 years, 9 months ago (2010-03-05 15:05:46 UTC) #4
joth
Many thanks! All comments addresses & new snapshot uploaded. Another look? On 5 March 2010 ...
10 years, 9 months ago (2010-03-05 17:56:49 UTC) #5
pink (ping after 24hrs)
LGTM http://codereview.chromium.org/669083/diff/1023/1025 File chrome/browser/geolocation/wifi_data_provider_mac.cc (right): http://codereview.chromium.org/669083/diff/1023/1025#newcode25 chrome/browser/geolocation/wifi_data_provider_mac.cc:25: class OsxWlanApi : public WifiDataProviderCommon::WlanApiInterface { Fix this ...
10 years, 9 months ago (2010-03-05 20:12:05 UTC) #6
joth
10 years, 9 months ago (2010-03-08 10:57:40 UTC) #7
On 2010/03/05 20:12:05, pink wrote:
> LGTM
> 
> http://codereview.chromium.org/669083/diff/1023/1025
> File chrome/browser/geolocation/wifi_data_provider_mac.cc (right):
> 
> http://codereview.chromium.org/669083/diff/1023/1025#newcode25
> chrome/browser/geolocation/wifi_data_provider_mac.cc:25: class OsxWlanApi :
> public WifiDataProviderCommon::WlanApiInterface {
> Fix this name as well (WlanApiMac)
> 
Good point.
I've gone with Apple80211Api as this is the name of the framework that it uses,
making it the counterpart of the new CoreWlanApi. I think this makes the
trailing Mac spurious, let me know if you still like to see that added.


> http://codereview.chromium.org/669083/diff/1023/1025#newcode30
> chrome/browser/geolocation/wifi_data_provider_mac.cc:30: bool Init();
> public method needs a comment
> 
> http://codereview.chromium.org/669083/diff/1023/1026
> File chrome/browser/geolocation/wifi_data_provider_mac.h (right):
> 
> http://codereview.chromium.org/669083/diff/1023/1026#newcode13
> chrome/browser/geolocation/wifi_data_provider_mac.h:13: class
> MacWifiDataProvider : public WifiDataProviderCommon {
> personally, I'd prefer to see WifiDataProviderMac, but I won't stab you for
> sticking with what you have.

I'm slowly converting all these classes (windows, linux & mac)  from gears to
chrome, gradually bringing them all into line with chrome naming conventions.
I'll do this renaming in another patch to avoid pulling more stuff into this
one, if that's OK.

Powered by Google App Engine
This is Rietveld 408576698