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

Issue 183973029: Refactoring of the NetworkPortalDetector. (Closed)

Created:
6 years, 9 months ago by ygorshenin1
Modified:
6 years, 9 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Refactoring of the NetworkPortalDetector. Different detection strategies are extracted into individual entities, which can be switched at run-time. Currently we have only two detection strategies: * login screen strategy: 3 detection attempts, detection timeout is proportional to current attempt number. * error screen strategy: unlimited number of detection attempts, detection timeout is fixed. BUG=240237 TEST=unit_tests:NetworkPortalDetectorImpl* R=nkostylev@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255545

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fixes. #

Messages

Total messages: 15 (0 generated)
ygorshenin1
6 years, 9 months ago (2014-03-05 09:46:04 UTC) #1
Nikita (slow)
As discussed please ask Denis or Pavel review this code.
6 years, 9 months ago (2014-03-05 15:50:47 UTC) #2
ygorshenin1
+ Denis Denis, could you please review this code?
6 years, 9 months ago (2014-03-05 15:53:38 UTC) #3
Denis Kuznetsov (DE-MUC)
https://codereview.chromium.org/183973029/diff/1/chrome/browser/chromeos/net/network_portal_detector_impl.h File chrome/browser/chromeos/net/network_portal_detector_impl.h (right): https://codereview.chromium.org/183973029/diff/1/chrome/browser/chromeos/net/network_portal_detector_impl.h#newcode95 chrome/browser/chromeos/net/network_portal_detector_impl.h:95: void CancelDetection(); StopDetection() ? https://codereview.chromium.org/183973029/diff/1/chrome/browser/chromeos/net/network_portal_detector_impl.h#newcode102 chrome/browser/chromeos/net/network_portal_detector_impl.h:102: // CanPerformAttempt() *must* ...
6 years, 9 months ago (2014-03-05 16:59:09 UTC) #4
ygorshenin1
PTAL https://codereview.chromium.org/183973029/diff/1/chrome/browser/chromeos/net/network_portal_detector_impl.h File chrome/browser/chromeos/net/network_portal_detector_impl.h (right): https://codereview.chromium.org/183973029/diff/1/chrome/browser/chromeos/net/network_portal_detector_impl.h#newcode95 chrome/browser/chromeos/net/network_portal_detector_impl.h:95: void CancelDetection(); On 2014/03/05 16:59:09, Denis Kuznetsov wrote: ...
6 years, 9 months ago (2014-03-06 11:59:33 UTC) #5
Denis Kuznetsov (DE-MUC)
lgtm
6 years, 9 months ago (2014-03-06 17:51:31 UTC) #6
ygorshenin1
The CQ bit was checked by ygorshenin@chromium.org
6 years, 9 months ago (2014-03-06 18:36:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/183973029/20001
6 years, 9 months ago (2014-03-06 18:40:04 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 18:50:37 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-06 18:50:38 UTC) #10
ygorshenin1
The CQ bit was checked by ygorshenin@chromium.org
6 years, 9 months ago (2014-03-06 19:53:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/183973029/20001
6 years, 9 months ago (2014-03-06 19:57:35 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/183973029/20001
6 years, 9 months ago (2014-03-06 21:04:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/183973029/20001
6 years, 9 months ago (2014-03-06 21:58:42 UTC) #14
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 08:35:01 UTC) #15
Message was sent while issue was closed.
Change committed as 255545

Powered by Google App Engine
This is Rietveld 408576698