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

Issue 1099033004: Add a text/password field count metric for empty username forms. (Closed)

Created:
5 years, 8 months ago by msramek
Modified:
5 years, 7 months ago
CC:
chromium-reviews, vabr+watchlist_chromium.org, browser-components-watch_chromium.org, asvitkine+watch_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, rouslan+autofillwatch_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a text/password field count metric for empty username forms. Another step in the investigation of no-username forms. Are we dealing with small forms that only contain one password field, or with larger but somehow malformed forms? BUG=456728 Committed: https://crrev.com/9088052d6f7767519f2f4f57bddf73f9871cb8fb Cr-Commit-Position: refs/heads/master@{#330084}

Patch Set 1 #

Total comments: 2

Patch Set 2 : std::count_if #

Total comments: 3

Patch Set 3 : Rebase. #

Patch Set 4 : Moved to renderer. #

Patch Set 5 : Superfluous include #

Total comments: 10

Patch Set 6 : Removed counter. #

Total comments: 3

Patch Set 7 : Checking for no passwords. #

Total comments: 4

Patch Set 8 : Metric description, inclusion. #

Total comments: 2

Patch Set 9 : Updated the description. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M components/autofill/content/renderer/password_form_conversion_utils.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (5 generated)
msramek
Hi guys, I'm adding another metric for no-username forms. Can you PTAL? Thanks, Martin
5 years, 8 months ago (2015-04-21 13:12:22 UTC) #2
vasilii
lgtm https://codereview.chromium.org/1099033004/diff/1/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/1099033004/diff/1/components/password_manager/core/browser/password_manager.cc#newcode423 components/password_manager/core/browser/password_manager.cc:423: for (const autofill::FormFieldData& field : iter->form_data.fields) { optional: ...
5 years, 8 months ago (2015-04-21 13:45:24 UTC) #3
msramek
https://codereview.chromium.org/1099033004/diff/1/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/1099033004/diff/1/components/password_manager/core/browser/password_manager.cc#newcode423 components/password_manager/core/browser/password_manager.cc:423: for (const autofill::FormFieldData& field : iter->form_data.fields) { On 2015/04/21 ...
5 years, 8 months ago (2015-04-21 15:31:16 UTC) #4
Ilya Sherman
Might it be easier to simply add a RAPPOR metric for the specific sites that ...
5 years, 8 months ago (2015-04-21 22:35:50 UTC) #5
msramek
https://codereview.chromium.org/1099033004/diff/20001/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/1099033004/diff/20001/components/password_manager/core/browser/password_manager.cc#newcode426 components/password_manager/core/browser/password_manager.cc:426: return field.IsTextField() || field.IsPasswordField(); On 2015/04/21 22:35:50, Ilya Sherman ...
5 years, 8 months ago (2015-04-22 09:36:01 UTC) #6
Ilya Sherman
https://codereview.chromium.org/1099033004/diff/20001/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/1099033004/diff/20001/components/password_manager/core/browser/password_manager.cc#newcode426 components/password_manager/core/browser/password_manager.cc:426: return field.IsTextField() || field.IsPasswordField(); On 2015/04/22 09:36:01, msramek wrote: ...
5 years, 8 months ago (2015-04-22 21:36:22 UTC) #7
vasilii
On 2015/04/22 21:36:22, Ilya Sherman wrote: > https://codereview.chromium.org/1099033004/diff/20001/components/password_manager/core/browser/password_manager.cc > File components/password_manager/core/browser/password_manager.cc (right): > > https://codereview.chromium.org/1099033004/diff/20001/components/password_manager/core/browser/password_manager.cc#newcode426 ...
5 years, 8 months ago (2015-04-23 08:35:43 UTC) #8
msramek
Hello again Ilya, although I followed up on your suggestion about RAPPOR, I didn't land ...
5 years, 7 months ago (2015-05-12 09:53:18 UTC) #9
msramek
Adding Václav on our team's side, since both Vasilii and Vadym are OOO. PTAL. Thanks, ...
5 years, 7 months ago (2015-05-12 09:54:52 UTC) #11
vabr (Chromium)
components/autofill/content/renderer/password_form_conversion_utils.cc LGTM with comments and a question. Cheers, Vaclav https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode265 components/autofill/content/renderer/password_form_conversion_utils.cc:265: ...
5 years, 7 months ago (2015-05-12 10:26:03 UTC) #12
msramek
Thanks, Václav! https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode265 components/autofill/content/renderer/password_form_conversion_utils.cc:265: // Count the total number of text ...
5 years, 7 months ago (2015-05-12 10:50:44 UTC) #13
vabr (Chromium)
Still LGTM, with 2 more comments. Thanks! Vaclav https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode379 components/autofill/content/renderer/password_form_conversion_utils.cc:379: } ...
5 years, 7 months ago (2015-05-12 11:06:11 UTC) #14
msramek
https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1099033004/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode379 components/autofill/content/renderer/password_form_conversion_utils.cc:379: } else { On 2015/05/12 11:06:11, vabr (Chromium) wrote: ...
5 years, 7 months ago (2015-05-12 11:27:03 UTC) #15
vabr (Chromium)
Still LGTM, still 2 more comments :). One is in code, the other one is ...
5 years, 7 months ago (2015-05-12 11:33:58 UTC) #16
msramek
Thanks, Václav. I realized that as well. I would say that it is OK at ...
5 years, 7 months ago (2015-05-12 12:13:47 UTC) #17
vabr (Chromium)
LGTM! Thanks for the discussion. Vaclav
5 years, 7 months ago (2015-05-12 12:37:39 UTC) #18
Ilya Sherman
Thanks. This looks better to me now; just a couple of minor comments: https://codereview.chromium.org/1099033004/diff/120001/components/autofill/content/renderer/password_form_conversion_utils.cc File ...
5 years, 7 months ago (2015-05-13 00:17:20 UTC) #19
msramek
https://codereview.chromium.org/1099033004/diff/120001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1099033004/diff/120001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode11 components/autofill/content/renderer/password_form_conversion_utils.cc:11: #include "base/metrics/histogram.h" On 2015/05/13 00:17:19, Ilya Sherman wrote: > ...
5 years, 7 months ago (2015-05-13 15:51:34 UTC) #21
Ilya Sherman
LGTM % a final comment. Thanks. https://codereview.chromium.org/1099033004/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1099033004/diff/160001/tools/metrics/histograms/histograms.xml#newcode25709 tools/metrics/histograms/histograms.xml:25709: + successfully parsed. ...
5 years, 7 months ago (2015-05-13 17:30:40 UTC) #22
msramek
https://codereview.chromium.org/1099033004/diff/160001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1099033004/diff/160001/tools/metrics/histograms/histograms.xml#newcode25709 tools/metrics/histograms/histograms.xml:25709: + successfully parsed. On 2015/05/13 17:30:40, Ilya Sherman wrote: ...
5 years, 7 months ago (2015-05-15 10:50:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1099033004/180001
5 years, 7 months ago (2015-05-15 10:51:17 UTC) #26
commit-bot: I haz the power
Committed patchset #9 (id:180001)
5 years, 7 months ago (2015-05-15 12:36:44 UTC) #27
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 12:37:32 UTC) #28
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/9088052d6f7767519f2f4f57bddf73f9871cb8fb
Cr-Commit-Position: refs/heads/master@{#330084}

Powered by Google App Engine
This is Rietveld 408576698