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"; |
} |