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

Unified Diff: chrome/browser/profiles/avatar_menu.h

Issue 1028603003: Fast user switcher: Distinguish supervised users from child accounts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DCHECK Created 5 years, 9 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/profiles/avatar_menu.h
diff --git a/chrome/browser/profiles/avatar_menu.h b/chrome/browser/profiles/avatar_menu.h
index a2ab430a60c066cf3b7ad63ed8be07bf1a0ce406..b6bb0478a91bc30b8fc441154d6cfd7520bae71d 100644
--- a/chrome/browser/profiles/avatar_menu.h
+++ b/chrome/browser/profiles/avatar_menu.h
@@ -66,9 +66,13 @@ class AvatarMenu :
// Whether or not the current profile requires sign-in before use.
bool signin_required;
- // Whether or not the current profile is a supervised user
+ // Whether or not the current profile is a legacy supervised user profile
// (see SupervisedUserService).
- bool supervised;
+ bool legacy_supervised;
+
+ // Whether or not the profile is associated with a child account
+ // (see SupervisedUserService).
+ bool child_account;
// The index in the menu of this profile, used by views to refer to
// profiles.
« no previous file with comments | « chrome/browser/chromeos/profiles/profile_list_chromeos.cc ('k') | chrome/browser/profiles/profile_list_desktop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698