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

Issue 2839683002: Logs different SaveCardPrompt histogram names depending on if user (Closed)

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

Description

Logs different SaveCardPrompt histogram names depending on if user accepted previous save card prompt. BUG=715617 Review-Url: https://codereview.chromium.org/2839683002 Cr-Commit-Position: refs/heads/master@{#467864} Committed: https://chromium.googlesource.com/chromium/src/+/3b669c732833d94c9b84974af7cf1b00eaeb0f32

Patch Set 1 #

Patch Set 2 : Updates histograms.xml. #

Patch Set 3 : Adds previous user choice to credit card infobar mobile metrics. #

Patch Set 4 : Updates autofill_save_card_infobar_delegate_mobile_unittest.cc. #

Patch Set 5 : iOS compile error. #

Patch Set 6 : Android compile error. #

Patch Set 7 : Android compile error. #

Total comments: 6

Patch Set 8 : Android compile error. #

Patch Set 9 : Removes redundant histogram suffixes. #

Patch Set 10 : Uses LogUMAHistogramEnumeration instead of UMA_HISTOGRAM_ENUMERATION because we change histogram na… #

Total comments: 4

Patch Set 11 : Uses no-suffix, 'PreviouslyAccepted' and 'PreviouslyDenied' for the save card prompt histograms. #

Patch Set 12 : Uses no-suffix, 'PreviouslyAccepted' and 'PreviouslyDenied' for the save card prompt histograms. #

Total comments: 4

Patch Set 13 : Adds DCHECK for previous save card prompt user decision. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -83 lines) Patch
M chrome/browser/autofill/autofill_save_card_infobar_delegate_mobile_unittest.cc View 1 2 3 4 5 6 7 8 9 10 9 chunks +74 lines, -34 lines 0 comments Download
M chrome/browser/ui/autofill/chrome_autofill_client.cc View 1 2 3 4 5 6 3 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/ui/autofill/save_card_bubble_controller_impl.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +45 lines, -15 lines 0 comments Download
M chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +66 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 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -5 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +37 lines, -14 lines 0 comments Download
M components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.h View 1 2 3 3 chunks +7 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_save_card_infobar_delegate_mobile.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +18 lines, -4 lines 0 comments Download
M components/autofill/core/common/autofill_pref_names.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download
M components/autofill/core/common/autofill_pref_names.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/autofill/autofill_client_ios.mm View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 74 (56 generated)
csashi
Hi Mathieu, Please take a look. Feel free to reassign to load balance. I have ...
3 years, 8 months ago (2017-04-24 17:45:07 UTC) #2
Mathieu
would love Seb to have a first look, I'm a bit overloaded!
3 years, 8 months ago (2017-04-24 20:07:03 UTC) #11
csashi
On 2017/04/24 20:07:03, Mathieu wrote: > would love Seb to have a first look, I'm ...
3 years, 8 months ago (2017-04-24 20:18:51 UTC) #12
sebsg
Nice! Couple of comments https://codereview.chromium.org/2839683002/diff/120001/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc (right): https://codereview.chromium.org/2839683002/diff/120001/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc#newcode323 chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc:323: Bucket(AutofillMetrics::SAVE_CARD_PROMPT_END_ACCEPTED, 1))); Can you also ...
3 years, 8 months ago (2017-04-25 15:32:28 UTC) #33
csashi
Hi Sebastien, Please take a look. Thanks! -sashi. https://codereview.chromium.org/2839683002/diff/120001/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc (right): https://codereview.chromium.org/2839683002/diff/120001/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc#newcode323 chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc:323: Bucket(AutofillMetrics::SAVE_CARD_PROMPT_END_ACCEPTED, ...
3 years, 8 months ago (2017-04-25 17:22:52 UTC) #38
sebsg
Thanks! LGTM
3 years, 8 months ago (2017-04-25 17:41:41 UTC) #41
csashi
Hi Eric, Please review tools/metrics/histograms/histograms.xml Hi Justin, Please review ios/chrome/browser/ui/autofill/autofill_client_ios.mm Thanks, -sashi.
3 years, 8 months ago (2017-04-25 17:54:37 UTC) #43
Justin Donnelly
ios/chrome/browser/ui/autofill/autofill_client_ios.mm lgtm
3 years, 8 months ago (2017-04-25 19:33:00 UTC) #46
csashi
On 2017/04/24 20:07:03, Mathieu wrote: > would love Seb to have a first look, I'm ...
3 years, 8 months ago (2017-04-25 21:28:18 UTC) #49
Eric Willigers
+mpearson for histogram review.
3 years, 8 months ago (2017-04-25 23:31:24 UTC) #53
Mathieu
the code lgtm. One question about the metric https://codereview.chromium.org/2839683002/diff/180001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2839683002/diff/180001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode201 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:201: LOG(ERROR) ...
3 years, 8 months ago (2017-04-26 14:31:17 UTC) #54
Mathieu
On 2017/04/26 14:31:17, Mathieu wrote: > the code lgtm. One question about the metric > ...
3 years, 8 months ago (2017-04-26 14:31:44 UTC) #55
csashi
https://codereview.chromium.org/2839683002/diff/180001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2839683002/diff/180001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode201 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:201: LOG(ERROR) << "OnBubbleClosed"; On 2017/04/26 14:31:16, Mathieu wrote: > ...
3 years, 8 months ago (2017-04-26 17:58:31 UTC) #57
csashi
On 2017/04/25 23:31:24, Eric Willigers wrote: > +mpearson for histogram review. Hi Mark, Can you ...
3 years, 7 months ago (2017-04-27 16:07:24 UTC) #66
Mark P
histograms.xml lgtm --mark https://codereview.chromium.org/2839683002/diff/220001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2839683002/diff/220001/components/autofill/core/browser/autofill_metrics.cc#newcode94 components/autofill/core/browser/autofill_metrics.cc:94: return previous_response; optional nit while I'm ...
3 years, 7 months ago (2017-04-27 22:52:58 UTC) #67
csashi
https://codereview.chromium.org/2839683002/diff/220001/components/autofill/core/browser/autofill_metrics.cc File components/autofill/core/browser/autofill_metrics.cc (right): https://codereview.chromium.org/2839683002/diff/220001/components/autofill/core/browser/autofill_metrics.cc#newcode94 components/autofill/core/browser/autofill_metrics.cc:94: return previous_response; On 2017/04/27 22:52:58, Mark P wrote: > ...
3 years, 7 months ago (2017-04-27 23:37:51 UTC) #68
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/2839683002/240001
3 years, 7 months ago (2017-04-28 01:46:27 UTC) #71
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 03:05:27 UTC) #74
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/3b669c732833d94c9b84974af7cf...

Powered by Google App Engine
This is Rietveld 408576698