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

Side by Side Diff: ash/public/interfaces/session_controller.mojom

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Rename HandleAdAuth. Use system_api enums Created 3 years, 12 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 unified diff | Download patch
« no previous file with comments | « no previous file | ash/public/interfaces/session_controller_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module ash.mojom; 5 module ash.mojom;
6 6
7 import "skia/public/interfaces/bitmap.mojom"; 7 import "skia/public/interfaces/bitmap.mojom";
8 8
9 // Matches session_manager::SessionState. 9 // Matches session_manager::SessionState.
10 enum SessionState { 10 enum SessionState {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 SUPERVISED, 52 SUPERVISED,
53 53
54 // Kiosk app robot, logs in without authentication. 54 // Kiosk app robot, logs in without authentication.
55 KIOSK, 55 KIOSK,
56 56
57 // Child user, with supervised options. 57 // Child user, with supervised options.
58 CHILD, 58 CHILD,
59 59
60 // Android app in kiosk mode, logs in without authentication. 60 // Android app in kiosk mode, logs in without authentication.
61 ARC_KIOSK, 61 ARC_KIOSK,
62
63 // Active Directory user. Authenticates against Active Directory server.
64 ACTIVE_DIRECTORY,
62 }; 65 };
63 66
64 // Info about a user session in ash. 67 // Info about a user session in ash.
65 struct UserSession { 68 struct UserSession {
66 // A user session id for the user session. It is generated by session manager 69 // A user session id for the user session. It is generated by session manager
67 // (chrome) when a user session starts and never changes during the lifetime 70 // (chrome) when a user session starts and never changes during the lifetime
68 // of the session manager. The number starts at 1 for the first user session 71 // of the session manager. The number starts at 1 for the first user session
69 // and incremented by one for each subsequent user session. 72 // and incremented by one for each subsequent user session.
70 uint32 session_id; 73 uint32 session_id;
71 74
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Requests to lock screen. 137 // Requests to lock screen.
135 RequestLockScreen(); 138 RequestLockScreen();
136 139
137 // Switch to the active user with |account_id| (if the user has already signed 140 // Switch to the active user with |account_id| (if the user has already signed
138 // in). 141 // in).
139 SwitchActiveUser(string account_id); 142 SwitchActiveUser(string account_id);
140 143
141 // Switch the active user to the next or previous user. 144 // Switch the active user to the next or previous user.
142 CycleActiveUser(bool next_user); 145 CycleActiveUser(bool next_user);
143 }; 146 };
OLDNEW
« no previous file with comments | « no previous file | ash/public/interfaces/session_controller_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698