| Index: components/user_manager/user_manager_base.cc
|
| diff --git a/components/user_manager/user_manager_base.cc b/components/user_manager/user_manager_base.cc
|
| index f6f5cf8009c6bfcb3465416ef7355cb8ec77f16f..ac35e459895278ebc636d01e21e74e439dcffaa3 100644
|
| --- a/components/user_manager/user_manager_base.cc
|
| +++ b/components/user_manager/user_manager_base.cc
|
| @@ -152,8 +152,6 @@ void UserManagerBase::UserLoggedIn(const AccountId& account_id,
|
|
|
| if (IsGuestAccountId(account_id)) {
|
| GuestUserLoggedIn();
|
| - } else if (IsKioskApp(account_id)) {
|
| - KioskAppLoggedIn(account_id);
|
| } else if (IsDemoApp(account_id)) {
|
| DemoAccountLoggedIn();
|
| } else {
|
| @@ -161,6 +159,8 @@ void UserManagerBase::UserLoggedIn(const AccountId& account_id,
|
|
|
| if (user && user->GetType() == USER_TYPE_PUBLIC_ACCOUNT) {
|
| PublicAccountUserLoggedIn(user);
|
| + } else if (user && user->GetType() == USER_TYPE_KIOSK_APP) {
|
| + KioskAppLoggedIn(user);
|
| } else if ((user && user->GetType() == USER_TYPE_SUPERVISED) ||
|
| (!user && IsSupervisedAccountId(account_id))) {
|
| SupervisedUserLoggedIn(account_id);
|
| @@ -726,14 +726,14 @@ void UserManagerBase::EnsureUsersLoaded() {
|
| local_state->GetDictionary(kUserType);
|
|
|
| // Load public sessions first.
|
| - std::set<AccountId> public_sessions_set;
|
| - LoadPublicAccounts(&public_sessions_set);
|
| + std::set<AccountId> device_local_accounts_set;
|
| + LoadDeviceLocalAccounts(&device_local_accounts_set);
|
|
|
| // Load regular users and supervised users.
|
| std::vector<AccountId> regular_users;
|
| std::set<AccountId> regular_users_set;
|
| ParseUserList(*prefs_regular_users,
|
| - public_sessions_set,
|
| + device_local_accounts_set,
|
| ®ular_users,
|
| ®ular_users_set);
|
| for (std::vector<AccountId>::const_iterator it = regular_users.begin();
|
|
|