Index: ash/public/interfaces/session_controller.mojom |
diff --git a/ash/public/interfaces/session_controller.mojom b/ash/public/interfaces/session_controller.mojom |
index aea9449dd3db34a209f3d59761a70e5eed58dafe..e5cedbfb886a133880feef71d29269904b37c35b 100644 |
--- a/ash/public/interfaces/session_controller.mojom |
+++ b/ash/public/interfaces/session_controller.mojom |
@@ -65,6 +65,12 @@ enum UserType { |
ACTIVE_DIRECTORY, |
}; |
+// Matches ash::CycleUser. |
+enum CycleUser { |
+ CYCLE_TO_NEXT_USER, // Cycle to the next user. |
+ CYCLE_TO_PREVIOUS_USER, // Cycle to the previous user. |
+}; |
+ |
// Info about a user session in ash. |
struct UserSession { |
// A user session id for the user session. It is generated by session manager |
@@ -140,5 +146,5 @@ interface SessionControllerClient { |
SwitchActiveUser(signin.mojom.AccountId account_id); |
// Switch the active user to the next or previous user. |
- CycleActiveUser(bool next_user); |
+ CycleActiveUser(CycleUser cycle_user); |
}; |