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

Issue 2670733002: Record UMA histogram when Form-Not-Secure warning is shown (Closed)

Created:
3 years, 10 months ago by estark
Modified:
3 years, 10 months ago
Reviewers:
engedy, Steven Holte
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record UMA histogram when Form-Not-Secure warning is shown This records a histogram, at most once per main-frame navigation, when "Login not secure" is shown in a password form. This will allow us to measure the frequency of the warning (e.g. the number of times the warning is shown per million navigations.) BUG=687823 Review-Url: https://codereview.chromium.org/2670733002 Cr-Commit-Position: refs/heads/master@{#447960} Committed: https://chromium.googlesource.com/chromium/src/+/ce9ab459b6cce4f6d327b83ef49a8684a8839b9b

Patch Set 1 #

Total comments: 4

Patch Set 2 : engedy comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -0 lines) Patch
M components/password_manager/core/browser/password_autofill_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager_unittest.cc View 1 2 2 chunks +44 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_metrics_util.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_metrics_util.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
estark
One more Form-Not-Secure metric... holte for histograms.xml engedy for the rest Thanks! This will be ...
3 years, 10 months ago (2017-02-02 03:09:20 UTC) #4
engedy
LGTM % nits, thanks! https://codereview.chromium.org/2670733002/diff/1/components/password_manager/core/browser/password_autofill_manager_unittest.cc File components/password_manager/core/browser/password_autofill_manager_unittest.cc (right): https://codereview.chromium.org/2670733002/diff/1/components/password_manager/core/browser/password_autofill_manager_unittest.cc#newcode809 components/password_manager/core/browser/password_autofill_manager_unittest.cc:809: histograms.ExpectBucketCount(kHistogram, true, 1); nit: ExpectUniqueSample ...
3 years, 10 months ago (2017-02-02 13:13:34 UTC) #7
engedy
Also thank you for the unit test. :)
3 years, 10 months ago (2017-02-02 13:13:55 UTC) #8
estark
https://codereview.chromium.org/2670733002/diff/1/components/password_manager/core/browser/password_autofill_manager_unittest.cc File components/password_manager/core/browser/password_autofill_manager_unittest.cc (right): https://codereview.chromium.org/2670733002/diff/1/components/password_manager/core/browser/password_autofill_manager_unittest.cc#newcode809 components/password_manager/core/browser/password_autofill_manager_unittest.cc:809: histograms.ExpectBucketCount(kHistogram, true, 1); On 2017/02/02 13:13:34, engedy wrote: > ...
3 years, 10 months ago (2017-02-02 22:00:06 UTC) #11
Steven Holte
3 years, 10 months ago (2017-02-03 02:59:48 UTC) #14
Steven Holte
histograms lgtm
3 years, 10 months ago (2017-02-03 02:59:59 UTC) #15
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/2670733002/20001
3 years, 10 months ago (2017-02-03 03:03:35 UTC) #18
commit-bot: I haz the power
Failed to apply patch for components/password_manager/core/browser/password_autofill_manager_unittest.cc: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-03 03:49:50 UTC) #20
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/2670733002/40001
3 years, 10 months ago (2017-02-03 06:47:16 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 07:44:07 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ce9ab459b6cce4f6d327b83ef49a...

Powered by Google App Engine
This is Rietveld 408576698