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

Unified Diff: chromeos/login/login_state.cc

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/login/login_state.h ('k') | chromeos/login/user_names.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/login/login_state.cc
diff --git a/chromeos/login/login_state.cc b/chromeos/login/login_state.cc
index 7ae1a2548d347ddb4b709e43fc9003bfa5d6da82..04f72a3e2b03c7416b0cda86aef62230d28b7c25 100644
--- a/chromeos/login/login_state.cc
+++ b/chromeos/login/login_state.cc
@@ -97,8 +97,7 @@ bool LoginState::IsGuestSessionUser() const {
}
bool LoginState::IsPublicSessionUser() const {
- return logged_in_user_type_ == LOGGED_IN_USER_PUBLIC_ACCOUNT ||
- logged_in_user_type_ == LOGGED_IN_USER_RETAIL_MODE;
+ return logged_in_user_type_ == LOGGED_IN_USER_PUBLIC_ACCOUNT;
}
bool LoginState::IsKioskApp() const {
« no previous file with comments | « chromeos/login/login_state.h ('k') | chromeos/login/user_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698