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

Unified Diff: components/autofill/core/browser/autofill_metrics.cc

Issue 2866993002: Logs boolean UMA to track if user modified profile before credit card (Closed)
Patch Set: Logs boolean UMA to track if user modified profile before credit card form submission. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_metrics.cc
diff --git a/components/autofill/core/browser/autofill_metrics.cc b/components/autofill/core/browser/autofill_metrics.cc
index 313402491321491118a541852dfb28a592cb275a..b2a6e3a8c829ba0d2b545bed25b7100259035908 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -618,6 +618,13 @@ void AutofillMetrics::LogNumberOfProfilesAtAutofillableFormSubmission(
"Autofill.StoredProfileCountAtAutofillableFormSubmission", num_profiles);
}
+// static
+void AutofillMetrics::LogHasModifiedProfileOnCreditCardFormSubmission(
+ bool has_modified_profile) {
+ UMA_HISTOGRAM_BOOLEAN("Autofill.HasModifiedProfile.CreditCardFormSubmission",
+ has_modified_profile);
+}
+
// static
void AutofillMetrics::LogAddressSuggestionsCount(size_t num_suggestions) {
UMA_HISTOGRAM_COUNTS("Autofill.AddressSuggestionsCount", num_suggestions);
« no previous file with comments | « components/autofill/core/browser/autofill_metrics.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698