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

Issue 2800853004: UKM that threads together multiple form interaction events. (Closed)

Created:
3 years, 8 months ago by csashi
Modified:
3 years, 8 months ago
CC:
chromium-reviews, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

UKM that threads together multiple form interaction events. BUG=709530 Review-Url: https://codereview.chromium.org/2800853004 Cr-Commit-Position: refs/heads/master@{#464565} Committed: https://chromium.googlesource.com/chromium/src/+/de1410d69989d28e98ca3bc1d31a18d74dae5352

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moves UkmLogger as parameter to LogAutofillFormSubmittedState. #

Total comments: 4

Patch Set 3 : Updates unit tests. #

Total comments: 14

Patch Set 4 : Renames UkmLogger->FormInteractionsUkmLogger, LogUkm->SubmitUkm. #

Total comments: 6

Patch Set 5 : Keeps metric names instead of metric enums in metrics_ vector. #

Patch Set 6 : Adds new metrics to ukm.xml. #

Patch Set 7 : Combines metrics for UPI VPA and autocomplete markup hints in a single entry. #

Patch Set 8 : Logs each form interaction event in a separate UkmEntry, includes time_delta as a metric. #

Total comments: 10

Patch Set 9 : Moves away from UMA style metrics. Logs more metadata for events. #

Patch Set 10 : Logs count of local cards/profiles and server cards/profiles. #

Patch Set 11 : Updates autofill_metrics_unittest.cc. #

Patch Set 12 : Resolves merge conflicts. Adds 'Autofill' prefix to UKM entry names. #

Patch Set 13 : Resolves merge errors. #

Patch Set 14 : Uses size_t for local and server record type count. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+972 lines, -191 lines) Patch
M components/autofill/core/browser/autofill_manager.h View 1 2 3 4 5 6 7 4 chunks +9 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 chunks +63 lines, -39 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +96 lines, -15 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 16 chunks +211 lines, -25 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 49 chunks +390 lines, -78 lines 0 comments Download
M components/autofill/core/browser/form_structure.h View 1 2 3 4 5 2 chunks +11 lines, -6 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +28 lines, -23 lines 0 comments Download
M components/ukm/test_ukm_service.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/ukm/test_ukm_service.cc View 1 2 2 chunks +29 lines, -3 lines 0 comments Download
M tools/metrics/ukm/ukm.xml View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +133 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (23 generated)
csashi
Hi Sebastien, Please take a first look. I will refine it if this was similar ...
3 years, 8 months ago (2017-04-07 02:06:13 UTC) #2
Roger McFarlane (Chromium)
Why not add the ukm logger to the signatures of the existing log methods and ...
3 years, 8 months ago (2017-04-07 02:34:01 UTC) #4
csashi
On 2017/04/07 02:34:01, Roger McFarlane (Chromium) wrote: > Why not add the ukm logger to ...
3 years, 8 months ago (2017-04-07 06:46:02 UTC) #5
csashi
Hi, Please take a look. Thanks, -sashi. https://codereview.chromium.org/2800853004/diff/1/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2800853004/diff/1/components/autofill/core/browser/autofill_manager.cc#newcode226 components/autofill/core/browser/autofill_manager.cc:226: ukm_logger_(new AutofillMetrics::UkmLogger(client->GetUkmService())), ...
3 years, 8 months ago (2017-04-07 06:46:28 UTC) #6
sebsg
Hi Sashi, I like the general idea of how you keep the state, I realized ...
3 years, 8 months ago (2017-04-07 13:17:24 UTC) #7
csashi
Hi, I have updated the tests and is ready for review. Hi Steven, Can you ...
3 years, 8 months ago (2017-04-09 19:17:26 UTC) #10
sebsg
Some comments, nice work! https://codereview.chromium.org/2800853004/diff/40001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2800853004/diff/40001/components/autofill/core/browser/autofill_manager.cc#newcode1398 components/autofill/core/browser/autofill_manager.cc:1398: if (state < AutofillMetrics::AUTOFILL_FORM_SUBMITTED_STATE_ENUM_SIZE) { ...
3 years, 8 months ago (2017-04-10 19:20:20 UTC) #19
csashi
Hi, Please take a look. Thanks! -sashi. https://codereview.chromium.org/2800853004/diff/40001/components/autofill/core/browser/autofill_manager.cc File components/autofill/core/browser/autofill_manager.cc (right): https://codereview.chromium.org/2800853004/diff/40001/components/autofill/core/browser/autofill_manager.cc#newcode1398 components/autofill/core/browser/autofill_manager.cc:1398: if (state ...
3 years, 8 months ago (2017-04-10 20:15:58 UTC) #20
sebsg
LGTM, thanks!
3 years, 8 months ago (2017-04-10 21:26:39 UTC) #25
Steven Holte
Please document your entries in tools/metrics/ukm/ukm.xml https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc#newcode742 components/autofill/core/browser/autofill_metrics.cc:742: bool AutofillMetrics::LogUkm( This ...
3 years, 8 months ago (2017-04-10 22:42:32 UTC) #26
csashi
Hi Steven, Please take a look. Thanks! -sashi. https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc#newcode742 components/autofill/core/browser/autofill_metrics.cc:742: bool ...
3 years, 8 months ago (2017-04-11 00:40:23 UTC) #27
csashi
On 2017/04/11 00:40:23, csashi wrote: > Hi Steven, > Please take a look. Thanks! > ...
3 years, 8 months ago (2017-04-11 17:20:54 UTC) #28
Steven Holte
https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc#newcode1049 components/autofill/core/browser/autofill_metrics.cc:1049: AUTOFILL_FORM_SUBMITTED_STATE: On 2017/04/11 00:40:23, csashi wrote: > On 2017/04/10 ...
3 years, 8 months ago (2017-04-11 17:37:57 UTC) #29
csashi
Hi, Please take a look. Thanks! -sashi. https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2800853004/diff/60001/components/autofill/core/browser/autofill_metrics.cc#newcode1049 components/autofill/core/browser/autofill_metrics.cc:1049: AUTOFILL_FORM_SUBMITTED_STATE: On ...
3 years, 8 months ago (2017-04-12 00:13:53 UTC) #30
Steven Holte
https://codereview.chromium.org/2800853004/diff/140001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2800853004/diff/140001/components/autofill/core/browser/autofill_metrics.cc#newcode837 components/autofill/core/browser/autofill_metrics.cc:837: DCHECK(is_for_credit_card_); This seems like a much more natural place ...
3 years, 8 months ago (2017-04-12 02:26:31 UTC) #31
csashi
Hi Steven, Thanks for the detailed comments. When I started this change, my objective was ...
3 years, 8 months ago (2017-04-12 05:53:59 UTC) #32
csashi
Hi Steven, Please take a look. Thanks! -sashi. https://codereview.chromium.org/2800853004/diff/140001/tools/metrics/ukm/ukm.xml File tools/metrics/ukm/ukm.xml (right): https://codereview.chromium.org/2800853004/diff/140001/tools/metrics/ukm/ukm.xml#newcode85 tools/metrics/ukm/ukm.xml:85: <event ...
3 years, 8 months ago (2017-04-12 18:54:18 UTC) #33
Steven Holte
Thanks for updating this! The UKM logging generally looks good now. Please update the descriptions ...
3 years, 8 months ago (2017-04-12 19:42:15 UTC) #34
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/2800853004/240001
3 years, 8 months ago (2017-04-13 20:29:28 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/405020)
3 years, 8 months ago (2017-04-13 21:07:14 UTC) #39
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/2800853004/260001
3 years, 8 months ago (2017-04-13 21:11:37 UTC) #42
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 22:14:55 UTC) #45
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/de1410d69989d28e98ca3bc1d31a...

Powered by Google App Engine
This is Rietveld 408576698