Index: ash/public/interfaces/lock_screen.mojom |
diff --git a/ash/public/interfaces/lock_screen.mojom b/ash/public/interfaces/lock_screen.mojom |
index 5cc5c35d25df5bb333033de531a7cfd26bddc09b..835ed623bcfb39020e6debb34f2abbae3d4fffe7 100644 |
--- a/ash/public/interfaces/lock_screen.mojom |
+++ b/ash/public/interfaces/lock_screen.mojom |
@@ -4,30 +4,9 @@ |
module ash.mojom; |
+import "ash/public/interfaces/login_user_info.mojom"; |
import "components/signin/public/interfaces/account_id.mojom"; |
import "mojo/common/string16.mojom"; |
-import "mojo/common/values.mojom"; |
- |
-// Supported authentication types. Keep in sync with enum in |
-// screenlock_bridge.h |
-enum AuthType { |
- OFFLINE_PASSWORD, |
- ONLINE_SIGN_IN, |
- NUMERIC_PIN, |
- USER_CLICK, |
- EXPAND_THEN_USER_CLICK, |
- FORCE_OFFLINE_PASSWORD, |
-}; |
- |
-// Information about the custom icon in the user pod. |
-struct UserPodCustomIconOptions { |
- string id; |
- mojo.common.mojom.String16 tooltip; |
- bool autoshow_tooltip; |
- mojo.common.mojom.String16 aria_label; |
- bool hardlock_on_click; |
- bool is_trial_run; |
-}; |
// Allows clients (e.g. Chrome browser) to control the ash lock screen. |
interface LockScreen { |
@@ -72,12 +51,9 @@ interface LockScreen { |
mojo.common.mojom.String16 initial_value); |
// Requests to load users in the lock screen. |
- // TODO: create a mojo struct for |users|, this contains user information |
- // for login/lock screen, some of which might not be needed for the new |
- // view-based UI. See crbug.com/729687. |
// |users|: A list of users who can unlock the device. |
// |show_guest|: Whether to show guest session button. |
- LoadUsers(mojo.common.mojom.ListValue users, bool show_guest); |
+ LoadUsers(array<LoginUserInfo> users, bool show_guest); |
}; |
// Allows ash lock screen to control a client (e.g. Chrome browser). Requests |