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