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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm

Issue 1117453002: Add gaia_id to ProfileInfoCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 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/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
index 3d0f39d8a0632868b3fffb2c4229d5abaf4a4815..1a77bcbd9f598850614cad2d75137779d74b74f1 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_menu_bubble_controller.mm
@@ -167,7 +167,7 @@ const CGFloat kSupervisedUserSpacing = 26.0;
// Repeat for the sync state/email.
NSTextField* emailField = itemView.emailField;
- emailField.stringValue = base::SysUTF16ToNSString(item.sync_state);
+ emailField.stringValue = base::SysUTF16ToNSString(item.username);
delta = [GTMUILocalizerAndLayoutTweaker sizeToFitView:emailField];
if (NSWidth([emailField frame]) > kMaxItemTextWidth) {
delta.width -= (NSWidth([emailField frame]) - kMaxItemTextWidth);

Powered by Google App Engine
This is Rietveld 408576698