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

Issue 7725001: Rework wifi_data_provider_linux.cc with our D-Bus library. (Closed)

Created:
9 years, 4 months ago by satorux1
Modified:
9 years, 4 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, Paweł Hajdan Jr., Leandro Graciá Gil
Visibility:
Public.

Description

Rework wifi_data_provider_linux.cc with our D-Bus library. The code is now a lot simpler, and unit tested. The dlopen hack and the timeout hack are now gone. BUG=90036 TEST=confirm that the geolocation works on maps.google.com on a device with wifi network Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98307

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix the unit test #

Total comments: 6

Patch Set 3 : address comments #

Total comments: 2

Patch Set 4 : address comments #

Patch Set 5 : fix checkdeps #

Patch Set 6 : add shutdown code #

Patch Set 7 : add expectation for shutdownandblock #

Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -254 lines) Patch
M chrome/chrome_tests.gypi View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M content/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_linux.h View 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_linux.cc View 1 2 3 4 5 7 chunks +200 lines, -253 lines 0 comments Download
A content/browser/geolocation/wifi_data_provider_linux_unittest.cc View 1 2 3 4 5 6 1 chunk +221 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
satorux1
It took quite sometime since I proposed to write our own D-Bus library, but finally ...
9 years, 4 months ago (2011-08-24 18:30:08 UTC) #1
satorux1
On 2011/08/24 18:30:08, satorux1 wrote: > It took quite sometime since I proposed to write ...
9 years, 4 months ago (2011-08-24 20:17:03 UTC) #2
satorux1
On 2011/08/24 20:17:03, satorux1 wrote: > On 2011/08/24 18:30:08, satorux1 wrote: > > It took ...
9 years, 4 months ago (2011-08-24 20:48:46 UTC) #3
stevenjb
http://codereview.chromium.org/7725001/diff/1/content/browser/geolocation/wifi_data_provider_linux.cc File content/browser/geolocation/wifi_data_provider_linux.cc (right): http://codereview.chromium.org/7725001/diff/1/content/browser/geolocation/wifi_data_provider_linux.cc#newcode316 content/browser/geolocation/wifi_data_provider_linux.cc:316: dbus::Response* NetworkManagerWlanApi::GetAccessPointProperty( nit: rename this GetAccessPointPropertyAndBlock? http://codereview.chromium.org/7725001/diff/3001/content/browser/geolocation/wifi_data_provider_linux.cc File content/browser/geolocation/wifi_data_provider_linux.cc ...
9 years, 4 months ago (2011-08-24 23:32:04 UTC) #4
satorux1
http://codereview.chromium.org/7725001/diff/1/content/browser/geolocation/wifi_data_provider_linux.cc File content/browser/geolocation/wifi_data_provider_linux.cc (right): http://codereview.chromium.org/7725001/diff/1/content/browser/geolocation/wifi_data_provider_linux.cc#newcode316 content/browser/geolocation/wifi_data_provider_linux.cc:316: dbus::Response* NetworkManagerWlanApi::GetAccessPointProperty( On 2011/08/24 23:32:04, Steven Bennetts wrote: > ...
9 years, 4 months ago (2011-08-25 06:03:16 UTC) #5
John Knottenbelt
LGTM. With regards to testing with maps.google.com, is there a way to disable other methods ...
9 years, 4 months ago (2011-08-25 10:02:11 UTC) #6
John Knottenbelt
+Marcus who is familiar with the code and Leandro who has been working on a ...
9 years, 4 months ago (2011-08-25 10:13:50 UTC) #7
bulach
LGTM thanks, this is a very nice simplification and I loved the tests! :) as ...
9 years, 4 months ago (2011-08-25 13:22:45 UTC) #8
satorux1
Thank you for the comments. Glad to know that the patch was well received. As ...
9 years, 4 months ago (2011-08-25 17:00:16 UTC) #9
stevenjb
9 years, 4 months ago (2011-08-25 17:32:22 UTC) #10
lgtm

Powered by Google App Engine
This is Rietveld 408576698