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

Unified Diff: chrome/browser/profiles/profile_metrics.cc

Issue 132453004: Add Profile metric counting to new User Manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added stat on number of profile-manager opens Created 6 years, 11 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/profiles/profile_metrics.cc
diff --git a/chrome/browser/profiles/profile_metrics.cc b/chrome/browser/profiles/profile_metrics.cc
index bd4ac3b248a3ddd656b8946f1e09e5254e7ac4dc..cb1c65823012556d31c2d7c5681c4f727dbc44a1 100644
--- a/chrome/browser/profiles/profile_metrics.cc
+++ b/chrome/browser/profiles/profile_metrics.cc
@@ -268,6 +268,11 @@ void ProfileMetrics::LogProfileSyncInfo(ProfileSync metric) {
NUM_PROFILE_SYNC_METRICS);
}
+void ProfileMetrics::LogProfileAuthResult(ProfileAuth metric) {
+ UMA_HISTOGRAM_ENUMERATION("Profile.AuthResult", metric,
+ NUM_PROFILE_AUTH_METRICS);
+}
+
void ProfileMetrics::LogProfileLaunch(Profile* profile) {
base::FilePath profile_path = profile->GetPath();
UMA_HISTOGRAM_ENUMERATION("Profile.LaunchBrowser",

Powered by Google App Engine
This is Rietveld 408576698