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

Issue 1392623002: [Autofill] Add metric for profile action on form submitted (Closed)

Created:
5 years, 2 months ago by sebsg
Modified:
5 years, 2 months ago
Reviewers:
Mathieu, rkaplow, Evan Stade
CC:
chromium-reviews, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, asvitkine+watch_chromium.org, estade+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Autofill] Add metric for profile action on form submitted It will log whether an existing profile was used, was edited or a new profile was created. BUG=539944 Committed: https://crrev.com/3c7d234ede220c9d154e760f55ce52645205b88a Cr-Commit-Position: refs/heads/master@{#354257}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Nit #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -51 lines) Patch
M components/autofill/core/browser/autofill_metrics.h View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 4 chunks +55 lines, -20 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.h View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_profile.cc View 1 2 3 5 chunks +33 lines, -13 lines 0 comments Download
M components/autofill/core/browser/autofill_profile_unittest.cc View 1 4 chunks +43 lines, -7 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
sebsg
rkaplow@chromium.org: Please review changes in tools/metrics/histograms/histograms.xml estade@chromium.org: Please review changes in components/autofill/core/browser/*
5 years, 2 months ago (2015-10-06 20:52:23 UTC) #4
Evan Stade
https://codereview.chromium.org/1392623002/diff/20001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/1392623002/diff/20001/components/autofill/core/browser/autofill_profile.cc#newcode556 components/autofill/core/browser/autofill_profile.cc:556: OverwriteName(profile.name_, app_locale); this doesn't count?
5 years, 2 months ago (2015-10-06 21:01:01 UTC) #5
rkaplow
https://codereview.chromium.org/1392623002/diff/20001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/1392623002/diff/20001/components/autofill/core/browser/autofill_metrics.cc#newcode638 components/autofill/core/browser/autofill_metrics.cc:638: NEW_PROFILE_CREATED); this should be the max value enum entry ...
5 years, 2 months ago (2015-10-07 15:04:56 UTC) #6
sebsg
Could you take another look? Thanks. https://codereview.chromium.org/1392623002/diff/20001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/1392623002/diff/20001/components/autofill/core/browser/autofill_metrics.cc#newcode638 components/autofill/core/browser/autofill_metrics.cc:638: NEW_PROFILE_CREATED); On 2015/10/07 ...
5 years, 2 months ago (2015-10-08 14:55:06 UTC) #7
rkaplow
lgtm histograms lgtm
5 years, 2 months ago (2015-10-08 14:58:04 UTC) #8
sebsg
Evan could you take another look? Thanks!
5 years, 2 months ago (2015-10-14 13:42:22 UTC) #9
Evan Stade
lgtm https://codereview.chromium.org/1392623002/diff/40001/components/autofill/core/browser/autofill_profile.cc File components/autofill/core/browser/autofill_profile.cc (right): https://codereview.chromium.org/1392623002/diff/40001/components/autofill/core/browser/autofill_profile.cc#newcode561 components/autofill/core/browser/autofill_profile.cc:561: did_overwrite = true; nit: did_overwrite = OverwriteName() || ...
5 years, 2 months ago (2015-10-14 20:42:01 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1392623002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392623002/60001
5 years, 2 months ago (2015-10-15 01:33:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/81571) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 2 months ago (2015-10-15 01:35:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1392623002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1392623002/80001
5 years, 2 months ago (2015-10-15 12:16:57 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 2 months ago (2015-10-15 13:45:37 UTC) #19
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/3c7d234ede220c9d154e760f55ce52645205b88a Cr-Commit-Position: refs/heads/master@{#354257}
5 years, 2 months ago (2015-10-15 13:46:32 UTC) #20
sebsg
5 years, 2 months ago (2015-10-21 17:35:26 UTC) #21
Message was sent while issue was closed.
https://codereview.chromium.org/1392623002/diff/40001/components/autofill/cor...
File components/autofill/core/browser/autofill_profile.cc (right):

https://codereview.chromium.org/1392623002/diff/40001/components/autofill/cor...
components/autofill/core/browser/autofill_profile.cc:561: did_overwrite = true;
On 2015/10/14 20:42:01, Evan Stade wrote:
> nit: did_overwrite = OverwriteName() || did_overwrite;

Done.

Powered by Google App Engine
This is Rietveld 408576698