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

Unified Diff: chrome/browser/autofill/autofill_metrics.cc

Issue 12588002: [Autofill] Add user type metrics. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Account for "add new" menu items Created 7 years, 9 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: chrome/browser/autofill/autofill_metrics.cc
diff --git a/chrome/browser/autofill/autofill_metrics.cc b/chrome/browser/autofill/autofill_metrics.cc
index c30028da05ee6e4ef6f668ad9994afcce02e087a..f3549a4f9710fc82794feb790e42cb297f5a777e 100644
--- a/chrome/browser/autofill/autofill_metrics.cc
+++ b/chrome/browser/autofill/autofill_metrics.cc
@@ -325,6 +325,14 @@ void AutofillMetrics::LogDialogUiDuration(
LogUMAHistogramLongTimes(prefix + ".UiDuration." + suffix, duration);
}
+void AutofillMetrics::LogDialogInitialUserState(
+ autofill::DialogType dialog_type,
+ DialogInitialUserStateMetric user_type) const {
+ std::string name = GetPrefixForDialogType(dialog_type) + ".InitialUserState";
+ LogUMAHistogramEnumeration(
+ name, user_type, NUM_DIALOG_INITIAL_USER_STATE_METRICS);
+}
+
void AutofillMetrics::LogWalletErrorMetric(autofill::DialogType dialog_type,
WalletErrorMetric metric) const {
std::string name = GetPrefixForDialogType(dialog_type) + ".WalletErrors";

Powered by Google App Engine
This is Rietveld 408576698