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

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

Issue 898533005: Rename for some supervised users ambiguity. Adding child account icon to the avatar menu bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename for user-removal-warning. 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
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 46ad33970928aae6b731a654797fd6220e16b7aa..0d953118acf9dde9b859fd8055c93dec70751871 100644
--- a/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
+++ b/chrome/browser/ui/webui/signin/user_manager_screen_handler.cc
@@ -58,7 +58,7 @@ const char kKeyDisplayName[]= "displayName";
const char kKeyEmailAddress[] = "emailAddress";
const char kKeyProfilePath[] = "profilePath";
const char kKeyPublicAccount[] = "publicAccount";
-const char kKeySupervisedUser[] = "supervisedUser";
+const char kKeyLegacySupervisedUser[] = "legacySupervisedUser";
const char kKeyChildUser[] = "childUser";
const char kKeyCanRemove[] = "canRemove";
const char kKeyIsOwner[] = "isOwner";
@@ -641,9 +641,9 @@ void UserManagerScreenHandler::GetLocalizedValues(
l10n_util::GetStringUTF16(IDS_LOGIN_POD_USER_REMOVE_WARNING_BUTTON));
localized_strings->SetString("removeUserWarningText",
l10n_util::GetStringUTF16(IDS_LOGIN_POD_USER_REMOVE_WARNING));
- localized_strings->SetString("removeSupervisedUserWarningText",
+ localized_strings->SetString("removeLegacySupervisedUserWarningText",
l10n_util::GetStringFUTF16(
- IDS_LOGIN_POD_SUPERVISED_USER_REMOVE_WARNING,
+ IDS_LOGIN_POD_LEGACY_SUPERVISED_USER_REMOVE_WARNING,
base::UTF8ToUTF16(chrome::kSupervisedUserManagementDisplayURL)));
// Strings needed for the User Manager tutorial slides.
@@ -727,8 +727,8 @@ void UserManagerScreenHandler::SendUserList() {
profile_value->Set(
kKeyProfilePath, base::CreateFilePathValue(profile_path));
profile_value->SetBoolean(kKeyPublicAccount, false);
- profile_value->SetBoolean(
- kKeySupervisedUser, info_cache.ProfileIsLegacySupervisedAtIndex(i));
+ profile_value->SetBoolean(kKeyLegacySupervisedUser,
+ info_cache.ProfileIsLegacySupervisedAtIndex(i));
profile_value->SetBoolean(
kKeyChildUser, info_cache.ProfileIsChildAtIndex(i));
profile_value->SetBoolean(
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | ui/login/account_picker/user_pod_row.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698