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

Unified Diff: components/password_manager/core/browser/password_manager_metrics_util.cc

Issue 1973293002: [Smart Lock] Adds UMA Metrics for actions on Account Chooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/password_manager/core/browser/password_manager_metrics_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_manager_metrics_util.cc
diff --git a/components/password_manager/core/browser/password_manager_metrics_util.cc b/components/password_manager/core/browser/password_manager_metrics_util.cc
index 80cb5b39d55532eddaaddb9faf5bae6bf61dc8c8..32a0b2497a992005f7c5abce5aca8166fc90d55c 100644
--- a/components/password_manager/core/browser/password_manager_metrics_util.cc
+++ b/components/password_manager/core/browser/password_manager_metrics_util.cc
@@ -88,6 +88,12 @@ void LogAutoSigninPromoUserAction(AutoSigninPromoUserAction action) {
AUTO_SIGNIN_PROMO_ACTION_COUNT);
}
+void LogAccountChooserUserAction(AccountChooserUserAction action) {
+ // TODO(vasilii): deprecate the histogram when the new ones hit the Stable.
+ UMA_HISTOGRAM_ENUMERATION("PasswordManager.AccountChooserDialog", action,
+ ACCOUNT_CHOOSER_ACTION_COUNT);
vasilii 2016/05/25 15:18:21 What was the reason to add this method if you have
+}
+
void LogAccountChooserUserActionOneAccount(AccountChooserUserAction action) {
UMA_HISTOGRAM_ENUMERATION("PasswordManager.AccountChooserDialogOneAccount",
action, ACCOUNT_CHOOSER_ACTION_COUNT);
« no previous file with comments | « components/password_manager/core/browser/password_manager_metrics_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698