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

Unified Diff: chrome/browser/ui/webui/options/create_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/create_profile_handler.cc
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.cc b/chrome/browser/ui/webui/options/create_profile_handler.cc
index 05a25877802d504d12171780768686dee7022f9d..51bd7b4dda8e9cca1b3ec9032df63e74dd68cbce 100644
--- a/chrome/browser/ui/webui/options/create_profile_handler.cc
+++ b/chrome/browser/ui/webui/options/create_profile_handler.cc
@@ -255,7 +255,7 @@ void CreateProfileHandler::CreateShortcutAndShowSuccess(
bool is_supervised =
profile_creation_type_ == SUPERVISED_PROFILE_CREATION ||
profile_creation_type_ == SUPERVISED_PROFILE_IMPORT;
- dict.SetBoolean("isManaged", is_supervised);
+ dict.SetBoolean("isSupervised", is_supervised);
web_ui()->CallJavascriptFunction(
GetJavascriptMethodName(PROFILE_CREATION_SUCCESS), dict);
@@ -396,11 +396,11 @@ std::string CreateProfileHandler::GetJavascriptMethodName(
switch (status) {
case PROFILE_CREATION_SUCCESS:
return profile_creation_type_ == SUPERVISED_PROFILE_IMPORT ?
- "BrowserOptions.showManagedUserImportSuccess" :
+ "BrowserOptions.showSupervisedUserImportSuccess" :
"BrowserOptions.showCreateProfileSuccess";
case PROFILE_CREATION_ERROR:
return profile_creation_type_ == SUPERVISED_PROFILE_IMPORT ?
- "BrowserOptions.showManagedUserImportError" :
+ "BrowserOptions.showSupervisedUserImportError" :
"BrowserOptions.showCreateProfileError";
}

Powered by Google App Engine
This is Rietveld 408576698