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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_icon_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_icon_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm
index a35b80173409b96d0b4f9d8d47602a1f0b0a6be3..819e53af4f1042105313f134c91bf8db482b4576 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_icon_controller.mm
@@ -111,9 +111,9 @@ const CGFloat kAvatarLabelRightSpacing = 2;
[self setButtonEnabled:YES];
[self updateAvatarButtonAndLayoutParent:NO];
- // Managed users cannot enter incognito mode, so we only need to check
+ // Supervised users cannot enter incognito mode, so we only need to check
// it in this code path.
- if (profile->IsManaged()) {
+ if (profile->IsSupervised()) {
// Initialize the avatar label button.
CGFloat extraWidth =
profiles::kAvatarIconWidth + kAvatarLabelRightSpacing;

Powered by Google App Engine
This is Rietveld 408576698