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

Unified Diff: chrome/browser/ui/webui/options/manage_profile_handler.cc

Issue 403343002: Rename "managed (mode|user)" to "supervised user" (part 8) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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/options/manage_profile_handler.cc
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc
index 33c95a94c196576676bc64e82f25fefe075bb496..615853cfcf43dc85ef64544e77154b82d430bf00 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc
@@ -87,20 +87,21 @@ void ManageProfileHandler::GetLocalizedValues(
{ "manageProfilesIconLabel", IDS_PROFILES_MANAGE_ICON_LABEL },
{ "manageProfilesExistingSupervisedUser",
IDS_PROFILES_CREATE_EXISTING_SUPERVISED_USER_ERROR },
- { "manageProfilesManagedSignedInLabel",
+ { "manageProfilesSupervisedSignedInLabel",
IDS_PROFILES_CREATE_SUPERVISED_SIGNED_IN_LABEL },
- { "manageProfilesManagedNotSignedInLabel",
+ { "manageProfilesSupervisedNotSignedInLabel",
IDS_PROFILES_CREATE_SUPERVISED_NOT_SIGNED_IN_LABEL },
- { "manageProfilesManagedAccountDetailsOutOfDate",
+ { "manageProfilesSupervisedAccountDetailsOutOfDate",
IDS_PROFILES_CREATE_SUPERVISED_ACCOUNT_DETAILS_OUT_OF_DATE_LABEL },
- { "manageProfilesManagedSignInAgainLink",
+ { "manageProfilesSupervisedSignInAgainLink",
IDS_PROFILES_CREATE_SUPERVISED_SIGN_IN_AGAIN_LINK },
- { "manageProfilesManagedNotSignedInLink",
+ { "manageProfilesSupervisedNotSignedInLink",
IDS_PROFILES_CREATE_SUPERVISED_NOT_SIGNED_IN_LINK },
{ "deleteProfileTitle", IDS_PROFILES_DELETE_TITLE },
{ "deleteProfileOK", IDS_PROFILES_DELETE_OK_BUTTON_LABEL },
{ "deleteProfileMessage", IDS_PROFILES_DELETE_MESSAGE },
- { "deleteManagedProfileAddendum", IDS_PROFILES_DELETE_SUPERVISED_ADDENDUM },
+ { "deleteSupervisedProfileAddendum",
+ IDS_PROFILES_DELETE_SUPERVISED_ADDENDUM },
{ "disconnectManagedProfileTitle",
IDS_PROFILES_DISCONNECT_MANAGED_PROFILE_TITLE },
{ "disconnectManagedProfileOK",
@@ -111,9 +112,9 @@ void ManageProfileHandler::GetLocalizedValues(
{ "createProfileShortcutCheckbox", IDS_PROFILES_CREATE_SHORTCUT_CHECKBOX },
{ "createProfileShortcutButton", IDS_PROFILES_CREATE_SHORTCUT_BUTTON },
{ "removeProfileShortcutButton", IDS_PROFILES_REMOVE_SHORTCUT_BUTTON },
- { "importExistingManagedUserLink",
+ { "importExistingSupervisedUserLink",
IDS_PROFILES_IMPORT_EXISTING_SUPERVISED_USER_LINK },
- { "signInToImportManagedUsers",
+ { "signInToImportSupervisedUsers",
IDS_PROFILES_IMPORT_SUPERVISED_USER_NOT_SIGNED_IN },
};
@@ -487,7 +488,7 @@ void ManageProfileHandler::OnCreateSupervisedUserPrefChange() {
base::FundamentalValue allowed(
prefs->GetBoolean(prefs::kSupervisedUserCreationAllowed));
web_ui()->CallJavascriptFunction(
- "CreateProfileOverlay.updateManagedUsersAllowed", allowed);
+ "CreateProfileOverlay.updateSupervisedUsersAllowed", allowed);
}
void ManageProfileHandler::OnHasProfileShortcuts(bool has_shortcuts) {
« no previous file with comments | « chrome/browser/ui/webui/options/manage_profile_browsertest.js ('k') | chrome/browser/ui/webui/options/options_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698