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

Issue 5167004: Enhance portal check code to return connectivity_state (Closed)

Created:
10 years, 1 month ago by Jason Glasgow
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, sleffler+cc_chromium.org, Nathan Williams, Eric Shienbrood, Jason Glasgow, rochberg, Paul Stewart, rtc
Visibility:
Public.

Description

Enhance the portal check code to return an enum expressing the connectivity state rather than a boolean indicating being inside a restricted pool. This is based on the observation that in a non-trivial percentage of times when in the restricted pool, the connection is so restricted as to not even have connectivity to the online portal or the DNS server. Change-Id: I5089f7c2deeaaa0949a68946b605f0bf01c94fdc BUG=chromium-os:9228 TEST= Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=4abfab7

Patch Set 1 #

Patch Set 2 : Return more information about connectivity state #

Patch Set 3 : Remove old code, add property #

Total comments: 11

Patch Set 4 : Address code review comments #

Patch Set 5 : Return more information about connectivity state #

Patch Set 6 : Maintain a little backward compatibility #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -64 lines) Patch
M doc/service-api.txt View 4 2 chunks +26 lines, -16 lines 0 comments Download
M include/service.h View 1 2 3 4 2 chunks +28 lines, -2 lines 0 comments Download
M plugins/portal_check.c View 1 2 3 6 chunks +55 lines, -35 lines 0 comments Download
M src/service.c View 1 2 3 4 5 6 chunks +44 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Jason Glasgow
10 years, 1 month ago (2010-11-19 00:11:33 UTC) #1
Jason Glasgow
Zel is on this so he knows where we are going Eric you can do ...
10 years, 1 month ago (2010-11-19 00:13:56 UTC) #2
Jason Glasgow
PTAL
10 years, 1 month ago (2010-11-19 02:02:21 UTC) #3
Jason Glasgow
Adding Vince so Cashew can track...
10 years, 1 month ago (2010-11-19 02:20:43 UTC) #4
Sam Leffler
There look to be a bunch of unrelated (style) changes in the portal code. I ...
10 years, 1 month ago (2010-11-19 16:06:52 UTC) #5
Eric Shienbrood
http://codereview.chromium.org/5167004/diff/11001/plugins/portal_check.c File plugins/portal_check.c (right): http://codereview.chromium.org/5167004/diff/11001/plugins/portal_check.c#newcode299 plugins/portal_check.c:299: /* The timer will fire once per second until ...
10 years, 1 month ago (2010-11-19 17:52:56 UTC) #6
Jason Glasgow
http://codereview.chromium.org/5167004/diff/11001/include/service.h File include/service.h (right): http://codereview.chromium.org/5167004/diff/11001/include/service.h#newcode81 include/service.h:81: enum connman_service_connectivity_state { On 2010/11/19 16:06:52, Sam Leffler wrote: ...
10 years, 1 month ago (2010-11-19 19:48:19 UTC) #7
Eric Shienbrood
10 years, 1 month ago (2010-11-19 20:00:31 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698