Index: chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc |
diff --git a/chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc |
index 351163886203aa323d9987cd2f48357b984f8457..6af9d52ae52360e34b1fb0b00f43d10d8fb96fe0 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc |
+++ b/chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc |
@@ -239,14 +239,17 @@ void EnrollmentScreenHandler::ShowEnrollmentStatus( |
case policy::EnrollmentStatus::STATUS_REGISTRATION_FAILED: |
// Some special cases for generating a nicer message that's more helpful. |
switch (status.client_status()) { |
+ case policy::DM_STATUS_SERVICE_MANAGEMENT_NOT_SUPPORTED: |
+ ShowError(IDS_ENTERPRISE_ENROLLMENT_ACCOUNT_ERROR, true); |
+ break; |
case policy::DM_STATUS_SERVICE_MISSING_LICENSES: |
ShowError(IDS_ENTERPRISE_ENROLLMENT_MISSING_LICENSES_ERROR, true); |
break; |
case policy::DM_STATUS_SERVICE_DEPROVISIONED: |
ShowError(IDS_ENTERPRISE_ENROLLMENT_DEPROVISIONED_ERROR, true); |
break; |
- case policy::DM_STATUS_SERVICE_MANAGEMENT_NOT_SUPPORTED: |
- ShowError(IDS_ENTERPRISE_ENROLLMENT_ACCOUNT_ERROR, true); |
+ case policy::DM_STATUS_SERVICE_DOMAIN_MISMATCH: |
+ ShowError(IDS_ENTERPRISE_ENROLLMENT_DOMAIN_MISMATCH_ERROR, true); |
break; |
default: |
ShowErrorMessage( |