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

Unified Diff: components/signin/core/browser/signin_metrics.cc

Issue 338993007: Track when and how a profile is signed out via UMA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove tracking android in separate UMA bucket Created 6 years, 6 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/signin/core/browser/signin_metrics.cc
diff --git a/components/signin/core/browser/signin_metrics.cc b/components/signin/core/browser/signin_metrics.cc
index 3cddfdfadbbd041fd513810b050b8e3413f27db7..19cbc39eb97871a25916576621275543e41a0517 100644
--- a/components/signin/core/browser/signin_metrics.cc
+++ b/components/signin/core/browser/signin_metrics.cc
@@ -45,4 +45,9 @@ void LogSigninAddAccount() {
UMA_HISTOGRAM_BOOLEAN("Signin.AddAccount", true);
}
+void LogSignout(ProfileSignout metric) {
+ UMA_HISTOGRAM_ENUMERATION("Signin.SignoutProfile", metric,
+ NUM_PROFILE_SIGNOUT_METRICS);
+}
+
} // namespace signin_metrics

Powered by Google App Engine
This is Rietveld 408576698