OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 5 #ifndef COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 6 #define COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 217 |
218 // Indicates that the demo account has just logged in. | 218 // Indicates that the demo account has just logged in. |
219 virtual void DemoAccountLoggedIn() = 0; | 219 virtual void DemoAccountLoggedIn() = 0; |
220 | 220 |
221 // Indicates that a user just logged in as guest. | 221 // Indicates that a user just logged in as guest. |
222 virtual void GuestUserLoggedIn(); | 222 virtual void GuestUserLoggedIn(); |
223 | 223 |
224 // Indicates that a kiosk app robot just logged in. | 224 // Indicates that a kiosk app robot just logged in. |
225 virtual void KioskAppLoggedIn(User* user) = 0; | 225 virtual void KioskAppLoggedIn(User* user) = 0; |
226 | 226 |
| 227 // Indicates that an ARC kiosk app robot just logged in. |
| 228 virtual void ArcKioskAppLoggedIn(User* user) = 0; |
| 229 |
227 // Indicates that a user just logged into a public session. | 230 // Indicates that a user just logged into a public session. |
228 virtual void PublicAccountUserLoggedIn(User* user) = 0; | 231 virtual void PublicAccountUserLoggedIn(User* user) = 0; |
229 | 232 |
230 // Indicates that a regular user just logged in. | 233 // Indicates that a regular user just logged in. |
231 virtual void RegularUserLoggedIn(const AccountId& account_id); | 234 virtual void RegularUserLoggedIn(const AccountId& account_id); |
232 | 235 |
233 // Indicates that a regular user just logged in as ephemeral. | 236 // Indicates that a regular user just logged in as ephemeral. |
234 virtual void RegularUserLoggedInAsEphemeral(const AccountId& account_id); | 237 virtual void RegularUserLoggedInAsEphemeral(const AccountId& account_id); |
235 | 238 |
236 // Indicates that a supervised user just logged in. | 239 // Indicates that a supervised user just logged in. |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 scoped_refptr<base::TaskRunner> task_runner_; | 387 scoped_refptr<base::TaskRunner> task_runner_; |
385 | 388 |
386 base::WeakPtrFactory<UserManagerBase> weak_factory_; | 389 base::WeakPtrFactory<UserManagerBase> weak_factory_; |
387 | 390 |
388 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); | 391 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); |
389 }; | 392 }; |
390 | 393 |
391 } // namespace user_manager | 394 } // namespace user_manager |
392 | 395 |
393 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 396 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
OLD | NEW |