summaryrefslogtreecommitdiffstats
path: root/ash/multi_profile_uma.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/multi_profile_uma.cc')
-rw-r--r--ash/multi_profile_uma.cc20
1 files changed, 17 insertions, 3 deletions
diff --git a/ash/multi_profile_uma.cc b/ash/multi_profile_uma.cc
index b6383e4..f6d9840 100644
--- a/ash/multi_profile_uma.cc
+++ b/ash/multi_profile_uma.cc
@@ -9,10 +9,10 @@
namespace ash {
// static
-void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
- UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
+void MultiProfileUMA::RecordSessionMode(SessionMode action) {
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.SessionMode",
action,
- NUM_SWITCH_ACTIVE_USER_ACTIONS);
+ NUM_SESSION_MODES);
}
// static
@@ -22,4 +22,18 @@ void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
NUM_SIGNIN_USER_ACTIONS);
}
+// static
+void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
+ action,
+ NUM_SWITCH_ACTIVE_USER_ACTIONS);
+}
+
+// static
+void MultiProfileUMA::RecordTeleportAction(TeleportWindowAction action) {
+ UMA_HISTOGRAM_ENUMERATION("MultiProfile.TeleportWindow",
+ action,
+ NUM_TELEPORT_WINDOW_ACTIONS);
+}
+
} // namespace ash