summaryrefslogtreecommitdiffstats
path: root/components/autofill/core/browser/autofill_metrics.cc
diff options
context:
space:
mode:
Diffstat (limited to 'components/autofill/core/browser/autofill_metrics.cc')
-rw-r--r--components/autofill/core/browser/autofill_metrics.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/autofill/core/browser/autofill_metrics.cc b/components/autofill/core/browser/autofill_metrics.cc
index b761247..fae07e8 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -606,6 +606,11 @@ void AutofillMetrics::LogAddressSuggestionsCount(size_t num_suggestions) {
UMA_HISTOGRAM_COUNTS("Autofill.AddressSuggestionsCount", num_suggestions);
}
+// static
+void AutofillMetrics::LogSuggestionAcceptedIndex(int index) {
+ UMA_HISTOGRAM_SPARSE_SLOWLY("Autofill.SuggestionAcceptedIndex", index);
+}
+
void AutofillMetrics::LogPasswordFormQueryVolume(
PasswordFormQueryVolumeMetric metric) {
UMA_HISTOGRAM_ENUMERATION("Autofill.PasswordFormQueryVolume", metric,