Index: chrome/browser/chromeos/login/enterprise_enrollment_view.cc |
diff --git a/chrome/browser/chromeos/login/enterprise_enrollment_view.cc b/chrome/browser/chromeos/login/enterprise_enrollment_view.cc |
index 47a521ab0d1f24f2e292bd74f655977295f98422..44c7de5a9810528baeca7234cbffbbf6c6fab88c 100644 |
--- a/chrome/browser/chromeos/login/enterprise_enrollment_view.cc |
+++ b/chrome/browser/chromeos/login/enterprise_enrollment_view.cc |
@@ -135,6 +135,14 @@ void EnterpriseEnrollmentView::ShowFatalAuthError() { |
ShowError(IDS_ENTERPRISE_ENROLLMENT_FATAL_AUTH_ERROR); |
} |
+void EnterpriseEnrollmentView::ShowFatalEnrollmentError() { |
+ ShowError(IDS_ENTERPRISE_ENROLLMENT_FATAL_ENROLLMENT_ERROR); |
+} |
+ |
+void EnterpriseEnrollmentView::ShowNetworkEnrollmentError() { |
+ ShowError(IDS_ENTERPRISE_ENROLLMENT_NETWORK_ENROLLMENT_ERROR); |
+} |
+ |
void EnterpriseEnrollmentView::OnAuthSubmitted(const std::string& user, |
const std::string& password, |
const std::string& captcha, |
@@ -164,6 +172,7 @@ void EnterpriseEnrollmentView::UpdateGaiaLogin(const DictionaryValue& args) { |
void EnterpriseEnrollmentView::ShowError(int message_id) { |
DictionaryValue args; |
args.SetInteger("error", GoogleServiceAuthError::NONE); |
+ args.SetBoolean("editable_user", true); |
args.SetString("error_message", l10n_util::GetStringUTF16(message_id)); |
UpdateGaiaLogin(args); |
} |