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

Issue 211983002: Add logging for distinguishing between captive portals with HTTP and HTTPS login pages (Closed)

Created:
6 years, 9 months ago by meacer
Modified:
6 years, 9 months ago
Reviewers:
Ilya Sherman, mmenke
CC:
chromium-reviews, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Add logging for distinguishing between captive portals with HTTP and HTTPS login pages BUG=349737 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260237

Patch Set 1 #

Total comments: 2

Patch Set 2 : Record the landing url for captive portal probe instead of just the https status #

Total comments: 4

Patch Set 3 : mmenke comments #

Total comments: 4

Patch Set 4 : mmenke comment #

Patch Set 5 : namespace fix #

Total comments: 2

Patch Set 6 : Style fix #

Total comments: 4

Patch Set 7 : isherman comments #

Total comments: 2

Patch Set 8 : Histogram naming #

Patch Set 9 : Fix builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -2 lines) Patch
M chrome/browser/captive_portal/captive_portal_detector.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_detector.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_service.cc View 1 2 3 4 5 6 7 8 3 chunks +38 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
meacer
Hi Matt, can you please take a look? Thanks.
6 years, 9 months ago (2014-03-26 00:17:52 UTC) #1
mmenke
https://codereview.chromium.org/211983002/diff/1/chrome/browser/captive_portal/captive_portal_detector.h File chrome/browser/captive_portal/captive_portal_detector.h (right): https://codereview.chromium.org/211983002/diff/1/chrome/browser/captive_portal/captive_portal_detector.h#newcode48 chrome/browser/captive_portal/captive_portal_detector.h:48: bool is_response_https; This should be was_redirected_to_https, since the initial ...
6 years, 9 months ago (2014-03-26 14:46:08 UTC) #2
meacer
https://codereview.chromium.org/211983002/diff/1/chrome/browser/captive_portal/captive_portal_detector.h File chrome/browser/captive_portal/captive_portal_detector.h (right): https://codereview.chromium.org/211983002/diff/1/chrome/browser/captive_portal/captive_portal_detector.h#newcode48 chrome/browser/captive_portal/captive_portal_detector.h:48: bool is_response_https; On 2014/03/26 14:46:08, mmenke wrote: > This ...
6 years, 9 months ago (2014-03-26 17:04:57 UTC) #3
mmenke
https://codereview.chromium.org/211983002/diff/70002/chrome/browser/captive_portal/captive_portal_service.cc File chrome/browser/captive_portal/captive_portal_service.cc (right): https://codereview.chromium.org/211983002/diff/70002/chrome/browser/captive_portal/captive_portal_service.cc#newcode222 chrome/browser/captive_portal/captive_portal_service.cc:222: RESULT_COUNT + 2); The +2 strikes me as fragile. ...
6 years, 9 months ago (2014-03-26 17:23:21 UTC) #4
meacer
https://codereview.chromium.org/211983002/diff/70002/chrome/browser/captive_portal/captive_portal_service.cc File chrome/browser/captive_portal/captive_portal_service.cc (right): https://codereview.chromium.org/211983002/diff/70002/chrome/browser/captive_portal/captive_portal_service.cc#newcode222 chrome/browser/captive_portal/captive_portal_service.cc:222: RESULT_COUNT + 2); On 2014/03/26 17:23:21, mmenke wrote: > ...
6 years, 9 months ago (2014-03-26 17:59:32 UTC) #5
mmenke
https://codereview.chromium.org/211983002/diff/90001/chrome/browser/captive_portal/captive_portal_service.cc File chrome/browser/captive_portal/captive_portal_service.cc (right): https://codereview.chromium.org/211983002/diff/90001/chrome/browser/captive_portal/captive_portal_service.cc#newcode42 chrome/browser/captive_portal/captive_portal_service.cc:42: }; This should be in the anonymous namespace. https://codereview.chromium.org/211983002/diff/90001/chrome/browser/captive_portal/captive_portal_service.cc#newcode90 ...
6 years, 9 months ago (2014-03-26 18:05:35 UTC) #6
meacer
https://codereview.chromium.org/211983002/diff/90001/chrome/browser/captive_portal/captive_portal_service.cc File chrome/browser/captive_portal/captive_portal_service.cc (right): https://codereview.chromium.org/211983002/diff/90001/chrome/browser/captive_portal/captive_portal_service.cc#newcode42 chrome/browser/captive_portal/captive_portal_service.cc:42: }; On 2014/03/26 18:05:36, mmenke wrote: > This should ...
6 years, 9 months ago (2014-03-26 19:07:32 UTC) #7
mmenke
LGTM. https://codereview.chromium.org/211983002/diff/130001/chrome/browser/captive_portal/captive_portal_service.cc File chrome/browser/captive_portal/captive_portal_service.cc (right): https://codereview.chromium.org/211983002/diff/130001/chrome/browser/captive_portal/captive_portal_service.cc#newcode101 chrome/browser/captive_portal/captive_portal_service.cc:101: : DETECTION_RESULT_BEHIND_CAPTIVE_PORTAL; optional nit: It's more common on ...
6 years, 9 months ago (2014-03-26 19:11:27 UTC) #8
meacer
Ilya, can you please take a look at histograms.xml? Thanks. https://codereview.chromium.org/211983002/diff/130001/chrome/browser/captive_portal/captive_portal_service.cc File chrome/browser/captive_portal/captive_portal_service.cc (right): https://codereview.chromium.org/211983002/diff/130001/chrome/browser/captive_portal/captive_portal_service.cc#newcode101 ...
6 years, 9 months ago (2014-03-26 19:22:48 UTC) #9
mmenke
On 2014/03/26 19:22:48, Mustafa Emre Acer wrote: > Ilya, can you please take a look ...
6 years, 9 months ago (2014-03-26 19:25:44 UTC) #10
meacer
> Putting them on the first line looks to be about 8 times more common ...
6 years, 9 months ago (2014-03-26 19:30:27 UTC) #11
Ilya Sherman
Please first move the existing histogram definition over from the internal file, so that the ...
6 years, 9 months ago (2014-03-27 00:32:52 UTC) #12
meacer
> Please first move the existing histogram definition over from the internal file, > so ...
6 years, 9 months ago (2014-03-27 00:52:51 UTC) #13
Ilya Sherman
On 2014/03/27 00:52:51, Mustafa Emre Acer wrote: > > Please first move the existing histogram ...
6 years, 9 months ago (2014-03-27 00:54:38 UTC) #14
meacer
On 2014/03/27 00:54:38, Ilya Sherman wrote: > On 2014/03/27 00:52:51, Mustafa Emre Acer wrote: > ...
6 years, 9 months ago (2014-03-27 01:53:22 UTC) #15
Ilya Sherman
histograms lgtm https://codereview.chromium.org/211983002/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/211983002/diff/160001/tools/metrics/histograms/histograms.xml#newcode29804 tools/metrics/histograms/histograms.xml:29804: + label="DETECTION_RESULT_BEHIND_CAPTIVE_PORTAL_HTTPS_LANDING_URL"/> optional nit: Maybe omit the ...
6 years, 9 months ago (2014-03-27 19:00:53 UTC) #16
meacer
https://codereview.chromium.org/211983002/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/211983002/diff/160001/tools/metrics/histograms/histograms.xml#newcode29804 tools/metrics/histograms/histograms.xml:29804: + label="DETECTION_RESULT_BEHIND_CAPTIVE_PORTAL_HTTPS_LANDING_URL"/> On 2014/03/27 19:00:53, Ilya Sherman wrote: > ...
6 years, 9 months ago (2014-03-27 22:35:22 UTC) #17
meacer
The CQ bit was checked by meacer@chromium.org
6 years, 9 months ago (2014-03-27 22:35:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/211983002/180001
6 years, 9 months ago (2014-03-27 22:36:12 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 23:58:21 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-27 23:58:21 UTC) #21
meacer
The CQ bit was checked by meacer@chromium.org
6 years, 9 months ago (2014-03-28 01:06:18 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/211983002/190001
6 years, 9 months ago (2014-03-28 01:10:51 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 04:46:20 UTC) #24
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, base_unittests_swarm, browser_tests, ...
6 years, 9 months ago (2014-03-28 04:46:21 UTC) #25
meacer
The CQ bit was checked by meacer@chromium.org
6 years, 9 months ago (2014-03-28 17:08:14 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/meacer@chromium.org/211983002/190001
6 years, 9 months ago (2014-03-28 17:13:25 UTC) #27
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 19:28:14 UTC) #28
Message was sent while issue was closed.
Change committed as 260237

Powered by Google App Engine
This is Rietveld 408576698