Index: chromeos/login/login_state.cc |
diff --git a/chromeos/login/login_state.cc b/chromeos/login/login_state.cc |
index b65b0fdf548f58b3d71d1b1d0d22fbeb42088e19..ea63c8ca9ba302f0092de33128f122a589485773 100644 |
--- a/chromeos/login/login_state.cc |
+++ b/chromeos/login/login_state.cc |
@@ -68,7 +68,6 @@ void LoginState::SetLoggedInStateAndPrimaryUser( |
} |
void LoginState::SetLoggedInState(LoggedInState state, LoggedInUserType type) { |
- CHECK_NE(LOGGED_IN_USER_RETAIL_MODE, type); |
if (state == logged_in_state_ && type == logged_in_user_type_) |
return; |
VLOG(1) << "LoggedInState: " << state << " UserType: " << type; |
@@ -97,7 +96,8 @@ bool LoginState::IsGuestSessionUser() const { |
} |
bool LoginState::IsPublicSessionUser() const { |
- return logged_in_user_type_ == LOGGED_IN_USER_PUBLIC_ACCOUNT; |
+ return logged_in_user_type_ == LOGGED_IN_USER_PUBLIC_ACCOUNT || |
+ logged_in_user_type_ == LOGGED_IN_USER_RETAIL_MODE; |
} |
bool LoginState::IsKioskApp() const { |