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

Unified Diff: chrome/browser/ui/bookmarks/bookmark_utils.cc

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/bookmarks/bookmark_utils.cc
diff --git a/chrome/browser/ui/bookmarks/bookmark_utils.cc b/chrome/browser/ui/bookmarks/bookmark_utils.cc
index 59c1aedbaae43ec99701c8b7c42199961b08dfd7..72af92da13056367bb65dceee7ff3e7172205747 100644
--- a/chrome/browser/ui/bookmarks/bookmark_utils.cc
+++ b/chrome/browser/ui/bookmarks/bookmark_utils.cc
@@ -318,9 +318,9 @@ base::string16 FormatBookmarkURLForDisplay(const GURL& url,
bool IsAppsShortcutEnabled(Profile* profile,
chrome::HostDesktopType host_desktop_type) {
- // Managed users can not have apps installed currently so there's no need to
- // show the apps shortcut.
- if (profile->IsManaged())
+ // Supervised users can not have apps installed currently so there's no need
+ // to show the apps shortcut.
+ if (profile->IsSupervised())
return false;
// Don't show the apps shortcut in ash since the app launcher is enabled.
« no previous file with comments | « chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc ('k') | chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698