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

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

Issue 14756019: Adding new user menu section to the SystemTrayMenu & refactoring of user access (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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
Index: chrome/browser/chromeos/login/user_manager.h
diff --git a/chrome/browser/chromeos/login/user_manager.h b/chrome/browser/chromeos/login/user_manager.h
index 442e4a72b42c7c8e5cbc50949a238c57ff562073..f40496289c190bfeecfe150acfb2da186f9be802 100644
--- a/chrome/browser/chromeos/login/user_manager.h
+++ b/chrome/browser/chromeos/login/user_manager.h
@@ -103,6 +103,11 @@ class UserManager {
// Returns a list of users who are currently logged in.
virtual const UserList& GetLoggedInUsers() const = 0;
+ // Returns a list of users who are currently logged in in the LRU order -
+ // so the active user is the first one in the list. If there is no user logged
+ // in, the current user will be returned.
+ virtual const UserList& GetLRULoggedInUsers() = 0;
+
// Indicates that a user with the given |email| has just logged in. The
// persistent list is updated accordingly if the user is not ephemeral.
// |browser_restart| is true when reloading Chrome after crash to distinguish

Powered by Google App Engine
This is Rietveld 408576698