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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 718673002: New user type introduced. Combines regular and supervised features. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: To avoid confusion HasGaia methods introduced. Created 6 years, 1 month 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
Index: chrome/browser/chromeos/login/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 883dd94fd69fd97f22533c04f8510a9e9beec33a..2571050bf5a37dfe3604caabbca0f53d8f6bcf91 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -231,7 +231,7 @@ void ExistingUserController::UpdateLoginDisplay(
user_manager::UserManager::Get()->AreSupervisedUsersAllowed();
bool meets_whitelist_requirements =
LoginUtils::IsWhitelisted((*it)->email(), NULL) ||
- (*it)->GetType() != user_manager::USER_TYPE_REGULAR;
+ !(*it)->HasGaiaAccount();
// Public session accounts are always shown on login screen.
bool meets_show_users_requirements =

Powered by Google App Engine
This is Rietveld 408576698