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

Unified Diff: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc

Issue 897903002: UserManager: set user.supervisedUser only for legacy supervised users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
diff --git a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
index 0ba5513e4ec057d3fb2fede82705fdce2da40e0e..f699d668fef6fb8ed9a70cfc8d79db2c8e5f9114 100644
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
@@ -728,7 +728,7 @@ void UserManagerScreenHandler::SendUserList() {
kKeyProfilePath, base::CreateFilePathValue(profile_path));
profile_value->SetBoolean(kKeyPublicAccount, false);
profile_value->SetBoolean(
- kKeySupervisedUser, info_cache.ProfileIsSupervisedAtIndex(i));
+ kKeySupervisedUser, info_cache.ProfileIsLegacySupervisedAtIndex(i));
Bernhard Bauer 2015/02/04 16:03:32 Hm... usually we use IsSupervised to mean both leg
merkulova 2015/02/04 16:26:37 Agree with Bernhard. There's clearly some ambigui
profile_value->SetBoolean(
kKeyChildUser, info_cache.ProfileIsChildAtIndex(i));
profile_value->SetBoolean(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698