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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view.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
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/browser/ui/views/profiles/avatar_label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
index d83a38280fae210240d1b01a4f4f04f1d7b5b5fb..a6ba3c2a869e9db7e78ea49c0bf4d3c6f334f769 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc
@@ -60,7 +60,7 @@ void BrowserNonClientFrameView::UpdateAvatarInfo() {
if (browser_view_->ShouldShowAvatar()) {
if (!avatar_button_) {
Profile* profile = browser_view_->browser()->profile();
- if (profile->IsManaged() && !avatar_label_) {
+ if (profile->IsSupervised() && !avatar_label_) {
avatar_label_ = new AvatarLabel(browser_view_);
avatar_label_->set_id(VIEW_ID_AVATAR_LABEL);
AddChildView(avatar_label_);
« no previous file with comments | « chrome/browser/ui/toolbar/wrench_menu_model.cc ('k') | chrome/browser/ui/views/profiles/avatar_label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698