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

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: fix2 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 facc7f0054b23dbd8c8708035b146d20d17f8294..d49db6edba0857c035a30e936b55fe4d94bb314c 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);
@@ -394,11 +394,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