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

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

Issue 2395243002: [Autofill] Log count histogram for the number of server cards (Closed)
Patch Set: Created 4 years, 2 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 7bcb451794b337cd9f96c0ea41d5e93a689aac36..528dbf28eb45291e998bcf5164366a5bc9b66460 100644
--- a/components/autofill/core/browser/autofill_metrics.cc
+++ b/components/autofill/core/browser/autofill_metrics.cc
@@ -529,6 +529,16 @@ void AutofillMetrics::LogStoredLocalCreditCardCount(size_t num_local_cards) {
}
// static
+void AutofillMetrics::LogStoredServerCreditCardCounts(
+ size_t num_masked_cards,
+ size_t num_unmasked_cards) {
+ UMA_HISTOGRAM_COUNTS("Autofill.StoredServerCreditCardCount.Masked",
rkaplow 2016/10/07 17:33:49 nit, we're recommending an explicit max now. see h
Mathieu 2016/10/08 01:36:06 Done.
+ num_masked_cards);
+ UMA_HISTOGRAM_COUNTS("Autofill.StoredServerCreditCardCount.Unmasked",
+ num_unmasked_cards);
+}
+
+// static
void AutofillMetrics::LogNumberOfProfilesAtAutofillableFormSubmission(
size_t num_profiles) {
UMA_HISTOGRAM_COUNTS(

Powered by Google App Engine
This is Rietveld 408576698