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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 1064843003: Add an UMA stat to be able to see if the User pods are show on start screen, (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. Created 5 years, 8 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 | « no previous file | chrome/browser/chromeos/login/session/user_session_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/session/user_session_manager.h
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.h b/chrome/browser/chromeos/login/session/user_session_manager.h
index a428948f5da79e2d43356fa5f811b44bfce90193..9be9b718e3548d87a8e858381cb2998ee901df49 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.h
+++ b/chrome/browser/chromeos/login/session/user_session_manager.h
@@ -371,6 +371,23 @@ class UserSessionManager
should_launch_browser_ = should_launch_browser;
}
+ // The user pods display type for histogram.
+ enum UserPodsDisplay {
+ // User pods enabling or disabling is possible either via local settings or
+ // via domain policy. The former method only applies to regular devices,
+ // whereas the latter is for enterprise-managed devices. Therefore, we have
+ // four possible combiations.
+ USER_PODS_DISPLAY_ENABLED_REGULAR = 0,
+ USER_PODS_DISPLAY_ENABLED_MANAGED = 1,
+ USER_PODS_DISPLAY_DISABLED_REGULAR = 2,
+ USER_PODS_DISPLAY_DISABLED_MANAGED = 3,
+ // Maximum histogram value.
+ NUM_USER_PODS_DISPLAY = 4
+ };
+
+ // Sends metrics for user pods display when existing user has logged in.
+ void SendUserPodsMetrics();
+
UserSessionManagerDelegate* delegate_;
// Authentication/user context.
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/session/user_session_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698