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

Unified Diff: ash/session_state_delegate.h

Issue 210903003: Implemented system tray UI for new account management. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed windows compilation. Created 6 years, 9 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: ash/session_state_delegate.h
diff --git a/ash/session_state_delegate.h b/ash/session_state_delegate.h
index f0e7f22f42005c677abf234299ce8a4955a7c278..fc7564cd129c76594dd36bf430374f28ba5da22f 100644
--- a/ash/session_state_delegate.h
+++ b/ash/session_state_delegate.h
@@ -94,6 +94,12 @@ class ASH_EXPORT SessionStateDelegate {
virtual const base::string16 GetUserDisplayName(
MultiProfileIndex index) const = 0;
+ // Gets the given name of the user with |index|. Could return empty string
Mr4D (OOO till 08-26) 2014/03/25 23:54:13 What about: An empty string can be returned if the
dzhioev (left Google) 2014/03/26 13:29:22 It's rather: "if the given name of the user is unk
+ // if given name of user is unknown.
+ // Note that |index| can at maximum be |NumberOfLoggedInUsers() - 1|.
+ virtual const base::string16 GetUserGivenName(
+ MultiProfileIndex index) const = 0;
+
// Gets the display email address for the user with the given |index|.
// The display email address might contains some periods in the email name
// as well as capitalized letters. For example: "Foo.Bar@mock.com".

Powered by Google App Engine
This is Rietveld 408576698