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

Issue 2839063004: [Autofill] UKM for suggestions polled field. (Closed)

Created:
3 years, 8 months ago by jiahuiguo
Modified:
3 years, 7 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, asvitkine+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add metrics to instrument which field type the suggestions are polled from, this will allow us identify which suggestion popup (UI) the users are using to autofill the information. The metric is more useful for card suggestions, since both card holder name and card number could trigger the suggestions, but they have different UIs and information. BUG=715789 TEST=components:components_unittests Review-Url: https://codereview.chromium.org/2839063004 Cr-Commit-Position: refs/heads/master@{#474777} Committed: https://chromium.googlesource.com/chromium/src/+/66e4a1e3d234f8151ef22fcada3e28a82e45fa5d

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address comments. #

Total comments: 6

Patch Set 3 : Change to suggestionShown #

Total comments: 2

Patch Set 4 : Added ukm.xml and resolved conflict #

Total comments: 4

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -30 lines) Patch
M components/autofill/core/browser/autofill_manager.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.h View 1 2 3 4 4 chunks +7 lines, -6 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.cc View 1 2 3 4 3 chunks +11 lines, -3 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 8 chunks +61 lines, -11 lines 0 comments Download
M tools/metrics/ukm/ukm.xml View 1 2 3 2 chunks +28 lines, -8 lines 0 comments Download

Messages

Total messages: 45 (30 generated)
jiahuiguo
Hi Mathieu, Sashi and Jared, PTAL. Thanks.
3 years, 8 months ago (2017-04-26 22:13:56 UTC) #5
Mathieu
On 2017/04/26 22:13:56, jiahuiguo wrote: > Hi Mathieu, Sashi and Jared, > > PTAL. > ...
3 years, 8 months ago (2017-04-26 22:18:32 UTC) #7
Jared Saul
lgtm from a style perspective, but definitely going to defer to Roger on best UKM ...
3 years, 8 months ago (2017-04-26 22:50:08 UTC) #8
csashi
https://codereview.chromium.org/2839063004/diff/1/components/autofill/core/browser/autofill_manager.h File components/autofill/core/browser/autofill_manager.h (right): https://codereview.chromium.org/2839063004/diff/1/components/autofill/core/browser/autofill_manager.h#newcode413 components/autofill/core/browser/autofill_manager.h:413: // Returns a list of values from the stored ...
3 years, 7 months ago (2017-04-27 18:41:17 UTC) #13
jiahuiguo
Hi Roger, Sashi and Jared, PTAL, I changed the ukm from polledSuggestion action to suggestion ...
3 years, 7 months ago (2017-05-24 18:00:00 UTC) #19
Jared Saul
lgtm https://codereview.chromium.org/2839063004/diff/40001/components/autofill/core/browser/autofill_manager.h File components/autofill/core/browser/autofill_manager.h (right): https://codereview.chromium.org/2839063004/diff/40001/components/autofill/core/browser/autofill_manager.h#newcode415 components/autofill/core/browser/autofill_manager.h:415: // the value of |field| and returns the ...
3 years, 7 months ago (2017-05-24 18:06:35 UTC) #22
jiahuiguo
+rkaplow
3 years, 7 months ago (2017-05-24 19:42:58 UTC) #24
Roger McFarlane (Chromium)
Does this need a rebase? (for the try bots) Is there a corresponding log to ...
3 years, 7 months ago (2017-05-24 20:12:03 UTC) #25
jiahuiguo
On 2017/05/24 20:12:03, Roger McFarlane (Chromium) wrote: > Does this need a rebase? (for the ...
3 years, 7 months ago (2017-05-24 21:26:21 UTC) #27
jiahuiguo
Hi Robert, Can you take a look at tools/metrics/ukm/ukm.xml? Thanks. https://codereview.chromium.org/2839063004/diff/40001/components/autofill/core/browser/autofill_manager.h File components/autofill/core/browser/autofill_manager.h (right): https://codereview.chromium.org/2839063004/diff/40001/components/autofill/core/browser/autofill_manager.h#newcode415 ...
3 years, 7 months ago (2017-05-24 21:27:33 UTC) #30
csashi
lgtm https://codereview.chromium.org/2839063004/diff/60001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2839063004/diff/60001/components/autofill/core/browser/autofill_metrics.cc#newcode1079 components/autofill/core/browser/autofill_metrics.cc:1079: MillisecondsSinceFormParsed()); Move this metric to the end to ...
3 years, 7 months ago (2017-05-25 08:40:33 UTC) #33
jiahuiguo
Thanks for the comments. Hi rkaplow@, Can you approve the ukm.xml? https://codereview.chromium.org/2839063004/diff/60001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): ...
3 years, 7 months ago (2017-05-25 19:02:35 UTC) #36
rkaplow
lgtm
3 years, 7 months ago (2017-05-25 19:56:09 UTC) #37
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/2839063004/80001
3 years, 7 months ago (2017-05-25 20:16:17 UTC) #42
commit-bot: I haz the power
3 years, 7 months ago (2017-05-25 20:21:12 UTC) #45
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/66e4a1e3d234f8151ef22fcada3e...

Powered by Google App Engine
This is Rietveld 408576698