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

Issue 2859243004: Add metrics for PasswordForm submission types (Closed)

Created:
3 years, 7 months ago by dvadym
Modified:
3 years, 7 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, gcasto+watchlist_chromium.org, Mathieu, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add metrics for PasswordForm submission types The Password Manager uses a bunch of different events as triggers for checking whether a password form was submitted successfully. This CL adds UMA histograms to record the event used as the trigger for each successful password form submission. BUG=None Review-Url: https://codereview.chromium.org/2859243004 Cr-Commit-Position: refs/heads/master@{#470584} Committed: https://chromium.googlesource.com/chromium/src/+/3ea544d4e19eff2b81e4a0f9d434a597203e2089

Patch Set 1 #

Patch Set 2 : Added mojo #

Patch Set 3 : Added histogram #

Patch Set 4 : comments #

Patch Set 5 : Test added #

Total comments: 28

Patch Set 6 : Addressed reviewer comments #

Patch Set 7 : rebase #

Total comments: 17

Patch Set 8 : addressed reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -20 lines) Patch
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 6 7 6 chunks +14 lines, -11 lines 0 comments Download
M components/autofill/content/common/autofill_types.mojom View 1 2 3 4 5 6 7 2 chunks +12 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types.typemap View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types_struct_traits.h View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_types_struct_traits.cc View 1 2 3 4 5 6 7 2 chunks +67 lines, -1 line 0 comments Download
M components/autofill/content/common/autofill_types_struct_traits_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 5 chunks +17 lines, -3 lines 0 comments Download
M components/autofill/content/renderer/provisionally_saved_password_form.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/provisionally_saved_password_form.cc View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M components/autofill/core/common/password_form.h View 1 2 3 4 5 6 7 3 chunks +22 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form.cc View 1 2 3 4 5 6 7 4 chunks +33 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_metrics_util.h View 1 2 3 4 5 2 chunks +6 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager_metrics_util.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 6 1 chunk +9 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (23 generated)
dvadym
engedy@ could you please review everything except mojo and *xml? mkwst@ could you please review ...
3 years, 7 months ago (2017-05-09 15:29:12 UTC) #4
dvadym
isherman@ could you please review histograms.xml?
3 years, 7 months ago (2017-05-09 17:51:26 UTC) #6
Ilya Sherman
metrics lgtm
3 years, 7 months ago (2017-05-09 21:35:35 UTC) #12
engedy
It's been a while, so please take my comments with a grain of salt. :-) ...
3 years, 7 months ago (2017-05-09 22:02:59 UTC) #13
engedy
@Mathieu, would you be the right person to review components/autofill changes?
3 years, 7 months ago (2017-05-09 22:03:51 UTC) #15
engedy
On 2017/05/09 22:03:51, engedy wrote: > @Mathieu, would you be the right person to review ...
3 years, 7 months ago (2017-05-09 22:07:03 UTC) #17
Mike West
mojom looks reasonable; ping me when the rest of the patch is finished, just so ...
3 years, 7 months ago (2017-05-10 06:52:28 UTC) #19
dvadym
engedy, PTAL https://codereview.chromium.org/2859243004/diff/80001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/2859243004/diff/80001/components/autofill/content/renderer/password_autofill_agent.cc#newcode1038 components/autofill/content/renderer/password_autofill_agent.cc:1038: void PasswordAutofillAgent::OnSameDocumentNavigationCompleted( On 2017/05/09 22:02:58, engedy wrote: ...
3 years, 7 months ago (2017-05-10 12:10:12 UTC) #20
engedy
LGTM % nits. https://codereview.chromium.org/2859243004/diff/80001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/2859243004/diff/80001/components/autofill/content/renderer/password_autofill_agent.cc#newcode1038 components/autofill/content/renderer/password_autofill_agent.cc:1038: void PasswordAutofillAgent::OnSameDocumentNavigationCompleted( On 2017/05/10 12:10:12, dvadym ...
3 years, 7 months ago (2017-05-10 13:07:43 UTC) #23
dvadym
Thanks engedy for review! I've created 2 tracking bugs: crbug.com/720346 for renaming methods and RPC. ...
3 years, 7 months ago (2017-05-10 14:09:26 UTC) #26
engedy
Still LGTM. https://codereview.chromium.org/2859243004/diff/80001/components/password_manager/core/browser/password_manager.cc File components/password_manager/core/browser/password_manager.cc (right): https://codereview.chromium.org/2859243004/diff/80001/components/password_manager/core/browser/password_manager.cc#newcode718 components/password_manager/core/browser/password_manager.cc:718: metrics_util::LogPasswordSuccessfulSubmissionEvent( On 2017/05/10 14:09:25, dvadym wrote: > ...
3 years, 7 months ago (2017-05-10 14:15:57 UTC) #29
Mike West
mojo LGTM, thanks.
3 years, 7 months ago (2017-05-10 14:59:43 UTC) #30
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/2859243004/140001
3 years, 7 months ago (2017-05-10 15:00:53 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 15:46:02 UTC) #37
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/3ea544d4e19eff2b81e4a0f9d434...

Powered by Google App Engine
This is Rietveld 408576698