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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_menu_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/profile_menu_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm b/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm
index 211ed589e0aa2d2e4922d55b036578999a9c9c2c..9e58c2e76f5cc473987755c9d5d47ba28caff862 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_menu_controller.mm
@@ -161,14 +161,14 @@ class Observer : public chrome::BrowserListObserver,
menu_->GetActiveProfileIndex());
if ([menuItem action] == @selector(switchToProfileFromDock:) ||
[menuItem action] == @selector(switchToProfileFromMenu:)) {
- if (!itemData.managed)
+ if (!itemData.supervised)
return YES;
return [menuItem tag] == static_cast<NSInteger>(itemData.menu_index);
}
if ([menuItem action] == @selector(newProfile:))
- return !itemData.managed;
+ return !itemData.supervised;
return YES;
}

Powered by Google App Engine
This is Rietveld 408576698