Index: ash/multi_profile_uma.h |
diff --git a/ash/multi_profile_uma.h b/ash/multi_profile_uma.h |
index ead66e8061b30710fcecb1df959b269653587201..1c70482b67f89a75d8f197b0d5674c30612d71a1 100644 |
--- a/ash/multi_profile_uma.h |
+++ b/ash/multi_profile_uma.h |
@@ -16,10 +16,11 @@ namespace ash { |
class ASH_EXPORT MultiProfileUMA { |
public: |
// Keep these enums up to date with tools/metrics/histograms/histograms.xml. |
- enum SwitchActiveUserAction { |
- SWITCH_ACTIVE_USER_BY_TRAY = 0, |
- SWITCH_ACTIVE_USER_BY_ACCELERATOR, |
- NUM_SWITCH_ACTIVE_USER_ACTIONS |
+ enum SessionMode { |
+ SESSION_SINGLE_USER_MODE = 0, |
+ SESSION_SIDE_BY_SIDE_MODE, |
+ SESSION_SEPARATE_DESKTOP_MODE, |
+ NUM_SESSION_MODES |
}; |
enum SigninUserAction { |
@@ -28,12 +29,32 @@ class ASH_EXPORT MultiProfileUMA { |
NUM_SIGNIN_USER_ACTIONS |
}; |
- // Record switching the active user and what UI path was taken. |
- static void RecordSwitchActiveUser(SwitchActiveUserAction action); |
+ enum SwitchActiveUserAction { |
+ SWITCH_ACTIVE_USER_BY_TRAY = 0, |
+ SWITCH_ACTIVE_USER_BY_ACCELERATOR, |
+ NUM_SWITCH_ACTIVE_USER_ACTIONS |
+ }; |
+ |
+ enum TeleportWindowAction { |
+ TELEPORT_WINDOW_DRAG_AND_DROP = 0, |
+ TELEPORT_WINDOW_CAPTION_MENU, |
+ TELEPORT_WINDOW_RETURN_BY_MINIMIZE, |
+ TELEPORT_WINDOW_RETURN_BY_LAUNCHER, |
+ NUM_TELEPORT_WINDOW_ACTIONS |
+ }; |
+ |
+ // Record the type of user (multi profile) session. |
+ static void RecordSessionMode(SessionMode mode); |
// Record signing in a new user and what UI path was taken. |
static void RecordSigninUser(SigninUserAction action); |
+ // Record switching the active user and what UI path was taken. |
+ static void RecordSwitchActiveUser(SwitchActiveUserAction action); |
+ |
+ // Record the way and how many times a window got teleported to another desk. |
+ static void RecordTeleportAction(TeleportWindowAction action); |
+ |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(MultiProfileUMA); |
}; |