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

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

Issue 880353002: [Autofill] Log the number of autofill profiles available at form submission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaned up Created 5 years, 11 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
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 21ca9f840d9ecad5624ba2474946b25d9dea0de2..e0e8a3b76874b40124955329d86811699629fbdd 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -461,6 +461,13 @@ void AutofillMetrics::LogStoredProfileCount(size_t num_profiles) {
}
// static
+void AutofillMetrics::LogNumberOfProfilesAtAutofillableFormSubmission(
+ size_t num_profiles) {
+ UMA_HISTOGRAM_COUNTS(
+ "Autofill.StoredProfileCountAtAutofillableFormSubmission", num_profiles);
+}
+
+// static
void AutofillMetrics::LogAddressSuggestionsCount(size_t num_suggestions) {
UMA_HISTOGRAM_COUNTS("Autofill.AddressSuggestionsCount", num_suggestions);
}

Powered by Google App Engine
This is Rietveld 408576698