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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_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/profile_chooser_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
index 29afe4656c062367f0de181eae0430a6f5dd7c9a..7588e5c1b7e5b54ad3a17111e123b6e2b79fcc27 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller.mm
@@ -1706,7 +1706,7 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
frameOrigin:rect.origin
action:linkSelector];
} else {
- link = [self linkButtonWithTitle:base::SysUTF16ToNSString(item.sync_state)
+ link = [self linkButtonWithTitle:base::SysUTF16ToNSString(item.username)
frameOrigin:rect.origin
action:nil];
if (HasAuthError(browser_->profile())) {
@@ -1720,7 +1720,7 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
[[link cell]
accessibilitySetOverrideValue:l10n_util::GetNSStringF(
IDS_PROFILES_ACCOUNT_BUTTON_AUTH_ERROR_ACCESSIBLE_NAME,
- item.sync_state)
+ item.username)
forAttribute:NSAccessibilityTitleAttribute];
} else {
[link setEnabled:NO];

Powered by Google App Engine
This is Rietveld 408576698