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

Unified Diff: ash/common/system/user/user_card_view.cc

Issue 2450183002: Rename UserInfo method GetEmail to GetDisplayEmail. (Closed)
Patch Set: Update comment Created 4 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
« no previous file with comments | « ash/common/system/user/tray_user_unittest.cc ('k') | ash/common/test/test_session_state_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/user_card_view.cc
diff --git a/ash/common/system/user/user_card_view.cc b/ash/common/system/user/user_card_view.cc
index a3bae8777a4eda59673a56ff915463493bc4ce49..1fcbcb276ae4b661b24a4fab10db75b2984a6540 100644
--- a/ash/common/system/user/user_card_view.cc
+++ b/ash/common/system/user/user_card_view.cc
@@ -376,7 +376,8 @@ void UserCardView::AddUserContent(LoginStatus login_status, int user_index) {
base::string16 user_email_string =
tray_delegate->IsUserSupervised()
? l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_SUPERVISED_LABEL)
- : base::UTF8ToUTF16(delegate->GetUserInfo(user_index)->GetEmail());
+ : base::UTF8ToUTF16(
+ delegate->GetUserInfo(user_index)->GetDisplayEmail());
if (!user_email_string.empty()) {
user_email = new views::Label(user_email_string);
user_email->SetFontList(
« no previous file with comments | « ash/common/system/user/tray_user_unittest.cc ('k') | ash/common/test/test_session_state_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698