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

Issue 11419070: Added detection timeouts and usage of Retry-After HTTP header. (Closed)

Created:
8 years, 1 month ago by ygorshenin1
Modified:
8 years, 1 month ago
Reviewers:
Nikita (slow), mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, nkostylev+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Added detection timeouts and usage of Retry-After HTTP header. * added detection timeouts and usage of Retry-After HTTP header; * added network portal detector unit tests for cases when detection times out. * refactored testing utils and captive portal service unit tests; BUG=134206 TEST=unit_tests:NetworkPortalDetector* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169246

Patch Set 1 #

Patch Set 2 : Small fixes. #

Total comments: 10

Patch Set 3 : Added VLOGs. #

Total comments: 2

Patch Set 4 : Fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+454 lines, -171 lines) Patch
M chrome/browser/captive_portal/captive_portal_detector.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_detector.cc View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_detector_unittest.cc View 4 chunks +1 line, -20 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_service.cc View 1 2 3 chunks +2 lines, -20 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_service_unittest.cc View 7 chunks +2 lines, -29 lines 0 comments Download
M chrome/browser/captive_portal/testing_utils.h View 3 chunks +12 lines, -7 lines 0 comments Download
M chrome/browser/captive_portal/testing_utils.cc View 3 chunks +27 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector.h View 1 2 3 chunks +78 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector.cc View 1 2 9 chunks +124 lines, -31 lines 0 comments Download
M chrome/browser/chromeos/net/network_portal_detector_unittest.cc View 1 9 chunks +185 lines, -54 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ygorshenin1
PTAL mmenke@: chrome/browser/captive_portal/* nkostylev@: chrome/browser/chromeos/*
8 years, 1 month ago (2012-11-19 17:41:15 UTC) #1
mmenke
chrome/browser/captive_portal/ LGTM. Like the refactoring. On 2012/11/19 17:41:15, ygorshenin1 wrote: > PTAL > > mmenke@: ...
8 years, 1 month ago (2012-11-19 19:03:44 UTC) #2
Nikita (slow)
lgtm, please improve logging so that feedback logs would contain useful info for captive portal. ...
8 years, 1 month ago (2012-11-20 12:58:44 UTC) #3
ygorshenin1
Nikita and Matt, PTAL due to some additional refactoring in chrome/browser/captive_portal/* and changes in logging. ...
8 years, 1 month ago (2012-11-21 09:08:05 UTC) #4
Nikita (slow)
lgtm https://codereview.chromium.org/11419070/diff/9/chrome/browser/captive_portal/captive_portal_detector.h File chrome/browser/captive_portal/captive_portal_detector.h (right): https://codereview.chromium.org/11419070/diff/9/chrome/browser/captive_portal/captive_portal_detector.h#newcode69 chrome/browser/captive_portal/captive_portal_detector.h:69: static std::string CaptivePortalResultToString(Result result); Static should go first.
8 years, 1 month ago (2012-11-21 11:32:10 UTC) #5
ygorshenin1
https://codereview.chromium.org/11419070/diff/9/chrome/browser/captive_portal/captive_portal_detector.h File chrome/browser/captive_portal/captive_portal_detector.h (right): https://codereview.chromium.org/11419070/diff/9/chrome/browser/captive_portal/captive_portal_detector.h#newcode69 chrome/browser/captive_portal/captive_portal_detector.h:69: static std::string CaptivePortalResultToString(Result result); On 2012/11/21 11:32:10, Nikita Kostylev ...
8 years, 1 month ago (2012-11-21 12:11:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/11419070/12012
8 years, 1 month ago (2012-11-22 08:30:14 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-11-22 11:22:21 UTC) #8
Change committed as 169246

Powered by Google App Engine
This is Rietveld 408576698