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

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

Issue 316863002: Rename "managed (mode|user)" to "supervised user" (part 1) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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_button_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
index dbacedb55c10b49c0194a04406f9fd55bcd548d0..472af3158cb805377169f63aae19c531cf05888f 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm
@@ -208,7 +208,7 @@ NSImage* GetImageFromResourceID(int resourceId) {
base::string16 profileName = [self getElidedAvatarName];
NSString* buttonTitle = nil;
- if (browser_->profile()->IsManaged()) {
+ if (browser_->profile()->IsSupervised()) {
// Add the "supervised" label after eliding the profile name, so the label
// will not get elided, but will instead enlarge the button.
buttonTitle = l10n_util::GetNSStringF(IDS_MANAGED_USER_NEW_AVATAR_LABEL,
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_utils.cc ('k') | chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698