| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 // Indicates that the demo account has just logged in. | 216 // Indicates that the demo account has just logged in. |
| 217 virtual void DemoAccountLoggedIn() = 0; | 217 virtual void DemoAccountLoggedIn() = 0; |
| 218 | 218 |
| 219 // Indicates that a user just logged in as guest. | 219 // Indicates that a user just logged in as guest. |
| 220 virtual void GuestUserLoggedIn(); | 220 virtual void GuestUserLoggedIn(); |
| 221 | 221 |
| 222 // Indicates that a kiosk app robot just logged in. | 222 // Indicates that a kiosk app robot just logged in. |
| 223 virtual void KioskAppLoggedIn(User* user) = 0; | 223 virtual void KioskAppLoggedIn(User* user) = 0; |
| 224 | 224 |
| 225 // Indicates that an ARC kiosk app robot just logged in. |
| 226 virtual void ArcKioskAppLoggedIn(User* user) = 0; |
| 227 |
| 225 // Indicates that a user just logged into a public session. | 228 // Indicates that a user just logged into a public session. |
| 226 virtual void PublicAccountUserLoggedIn(User* user) = 0; | 229 virtual void PublicAccountUserLoggedIn(User* user) = 0; |
| 227 | 230 |
| 228 // Indicates that a regular user just logged in. | 231 // Indicates that a regular user just logged in. |
| 229 virtual void RegularUserLoggedIn(const AccountId& account_id); | 232 virtual void RegularUserLoggedIn(const AccountId& account_id); |
| 230 | 233 |
| 231 // Indicates that a regular user just logged in as ephemeral. | 234 // Indicates that a regular user just logged in as ephemeral. |
| 232 virtual void RegularUserLoggedInAsEphemeral(const AccountId& account_id); | 235 virtual void RegularUserLoggedInAsEphemeral(const AccountId& account_id); |
| 233 | 236 |
| 234 // Indicates that a supervised user just logged in. | 237 // Indicates that a supervised user just logged in. |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 scoped_refptr<base::TaskRunner> task_runner_; | 385 scoped_refptr<base::TaskRunner> task_runner_; |
| 383 | 386 |
| 384 base::WeakPtrFactory<UserManagerBase> weak_factory_; | 387 base::WeakPtrFactory<UserManagerBase> weak_factory_; |
| 385 | 388 |
| 386 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); | 389 DISALLOW_COPY_AND_ASSIGN(UserManagerBase); |
| 387 }; | 390 }; |
| 388 | 391 |
| 389 } // namespace user_manager | 392 } // namespace user_manager |
| 390 | 393 |
| 391 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ | 394 #endif // COMPONENTS_USER_MANAGER_USER_MANAGER_BASE_H_ |
| OLD | NEW |