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

Issue 2451293002: Add a histogram for each time the HTTP Bad UI is shown (Closed)

Created:
4 years, 1 month ago by elawrence
Modified:
4 years, 1 month ago
Reviewers:
rkaplow, estark
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a histogram for each time the HTTP Bad UI is shown Log a sample each time a HTTP Bad UI warning is shown in either the console or the omnibox. BUG=647567 Committed: https://crrev.com/c346a85602ff22ead6e8ce22f370267e3f192230 Cr-Commit-Position: refs/heads/master@{#428441}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Correct style and nits #

Total comments: 5

Patch Set 3 : More nits #

Total comments: 1

Patch Set 4 : DISALLOW_COPY_AND_ASSIGN for test fixture #

Total comments: 4

Patch Set 5 : Update histogram description text and enum #

Patch Set 6 : Update VisibleSSLStateChange to VisibleSecurityStateChange #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -0 lines) Patch
M chrome/browser/ssl/chrome_security_state_model_client.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ssl/chrome_security_state_model_client_unittest.cc View 1 2 3 4 5 3 chunks +83 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (19 generated)
elawrence
PTAL, thanks!
4 years, 1 month ago (2016-10-26 19:40:56 UTC) #2
estark
Thanks, looks good overall, just some style stuff + nits inline. https://codereview.chromium.org/2451293002/diff/1/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): ...
4 years, 1 month ago (2016-10-26 20:30:56 UTC) #7
elawrence
thanks! https://codereview.chromium.org/2451293002/diff/1/chrome/browser/ssl/chrome_security_state_model_client_unittest.cc File chrome/browser/ssl/chrome_security_state_model_client_unittest.cc (right): https://codereview.chromium.org/2451293002/diff/1/chrome/browser/ssl/chrome_security_state_model_client_unittest.cc#newcode266 chrome/browser/ssl/chrome_security_state_model_client_unittest.cc:266: void signalPassword() { On 2016/10/26 20:30:56, estark wrote: ...
4 years, 1 month ago (2016-10-26 21:02:39 UTC) #10
elawrence
ericwilligers@: Please review histograms.xml. estark@: PTAL at my updates. Thanks!
4 years, 1 month ago (2016-10-26 21:23:38 UTC) #13
estark
lgtm with a couple nits and notes https://codereview.chromium.org/2451293002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client.cc File chrome/browser/ssl/chrome_security_state_model_client.cc (right): https://codereview.chromium.org/2451293002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client.cc#newcode351 chrome/browser/ssl/chrome_security_state_model_client.cc:351: case security_state::SecurityStateModel::DANGEROUS: ...
4 years, 1 month ago (2016-10-26 21:29:46 UTC) #14
elawrence
https://codereview.chromium.org/2451293002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client_unittest.cc File chrome/browser/ssl/chrome_security_state_model_client_unittest.cc (right): https://codereview.chromium.org/2451293002/diff/20001/chrome/browser/ssl/chrome_security_state_model_client_unittest.cc#newcode12 chrome/browser/ssl/chrome_security_state_model_client_unittest.cc:12: #include "content/public/browser/navigation_entry.h" On 2016/10/26 21:29:46, estark wrote: > nit: ...
4 years, 1 month ago (2016-10-26 21:40:20 UTC) #15
estark
https://codereview.chromium.org/2451293002/diff/40001/chrome/browser/ssl/chrome_security_state_model_client_unittest.cc File chrome/browser/ssl/chrome_security_state_model_client_unittest.cc (right): https://codereview.chromium.org/2451293002/diff/40001/chrome/browser/ssl/chrome_security_state_model_client_unittest.cc#newcode277 chrome/browser/ssl/chrome_security_state_model_client_unittest.cc:277: ChromeSecurityStateModelClient* client_; Sorry, one more nit I just noticed, ...
4 years, 1 month ago (2016-10-26 22:56:53 UTC) #16
Eric Willigers
On 2016/10/26 21:23:38, elawrence wrote: > ericwilligers@: Please review histograms.xml. This isn't a trivial UseCounter ...
4 years, 1 month ago (2016-10-26 23:08:27 UTC) #20
elawrence
Added DISALLOW_COPY_AND_ASSIGN to test fixture.
4 years, 1 month ago (2016-10-27 14:59:23 UTC) #21
rkaplow
https://codereview.chromium.org/2451293002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2451293002/diff/60001/tools/metrics/histograms/histograms.xml#newcode56104 tools/metrics/histograms/histograms.xml:56104: +<histogram name="Security.HTTPBad.UserWarnedAboutSensitiveInput"> should have enum="Boolean" https://codereview.chromium.org/2451293002/diff/60001/tools/metrics/histograms/histograms.xml#newcode56108 tools/metrics/histograms/histograms.xml:56108: + Counts ...
4 years, 1 month ago (2016-10-28 01:07:31 UTC) #22
elawrence
Thanks, rkaplow@! PTAL at the updated version? https://codereview.chromium.org/2451293002/diff/60001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2451293002/diff/60001/tools/metrics/histograms/histograms.xml#newcode56104 tools/metrics/histograms/histograms.xml:56104: +<histogram name="Security.HTTPBad.UserWarnedAboutSensitiveInput"> ...
4 years, 1 month ago (2016-10-28 01:33:40 UTC) #23
rkaplow
lgtm yep, BooleanShown is fine
4 years, 1 month ago (2016-10-28 16:20:34 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451293002/80001
4 years, 1 month ago (2016-10-28 16:21:05 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/288549)
4 years, 1 month ago (2016-10-28 16:34:03 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2451293002/100001
4 years, 1 month ago (2016-10-28 17:38:27 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-10-28 18:44:16 UTC) #34
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 19:09:08 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c346a85602ff22ead6e8ce22f370267e3f192230
Cr-Commit-Position: refs/heads/master@{#428441}

Powered by Google App Engine
This is Rietveld 408576698