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

Unified Diff: chrome/browser/chromeos/login/users/user_manager.h

Issue 341453002: [multi-profiles] Allow bringing up sign in UI even if all users are restricted per their policies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 6 months 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 | « no previous file | chrome/browser/chromeos/login/users/user_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/users/user_manager.h
diff --git a/chrome/browser/chromeos/login/users/user_manager.h b/chrome/browser/chromeos/login/users/user_manager.h
index 98ab8331395393b467df01dfa77a3f5b90bb59a7..cddca03de2f4bc4e50fe77643607591d00bcf753 100644
--- a/chrome/browser/chromeos/login/users/user_manager.h
+++ b/chrome/browser/chromeos/login/users/user_manager.h
@@ -133,6 +133,11 @@ class UserManager {
virtual const UserList& GetUsers() const = 0;
// Returns list of users admitted for logging in into multi-profile session.
+ // Users that have a policy that prevents them from being added to the
+ // multi-profile session will still be part of this list as long as they
+ // are regular users (i.e. not a public session/supervised etc.).
+ // Returns an empty list in case when primary user is not a regular one or
+ // has a policy that prohibids it to be part of multi-profile session.
virtual UserList GetUsersAdmittedForMultiProfile() const = 0;
// Returns a list of users who are currently logged in.
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/users/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698