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

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

Issue 11419184: Add public accounts to UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Re-upload against the correct upstream commit. Created 8 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 e7ec93642eb92cc2f22e6f9a09843a9c64809d9e..cbe85bb9df4b7a50dca519f2403468345e4133d8 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -190,8 +190,10 @@ void ExistingUserController::UpdateLoginDisplay(const UserList& users) {
if (show_users_on_signin) {
for (UserList::const_iterator it = users.begin(); it != users.end(); ++it) {
// TODO(xiyuan): Clean user profile whose email is not in whitelist.
pastarmovj 2012/11/28 09:57:16 Don't you do the clean up from this TODO in UseRMa
bartfab (slow) 2012/11/28 12:30:17 No, I only clean up device-local accounts that no
- if (LoginUtils::IsWhitelisted((*it)->email()))
+ if (LoginUtils::IsWhitelisted((*it)->email()) ||
+ (*it)->GetType() != User::USER_TYPE_REGULAR) {
filtered_users.push_back(*it);
+ }
}
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/mock_user_manager.h » ('j') | chrome/browser/chromeos/login/user_manager_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698