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

Unified Diff: chrome/browser/chromeos/login/enrollment/enrollment_screen.cc

Issue 214963002: Add error message for domain mismatch on re-enrollment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move message declaration in policy_strings.grdp to work around an Android build issue. Created 6 years, 9 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/chromeos/login/enrollment/enrollment_screen.cc
diff --git a/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc b/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc
index e9f78d5c735c067f81b5be3b458098fdbe7a4c9d..a4f3f9e4ed743cbc062f7f335efc04eb21a88afb 100644
--- a/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc
+++ b/chrome/browser/chromeos/login/enrollment/enrollment_screen.cc
@@ -255,6 +255,9 @@ void EnrollmentScreen::ReportEnrollmentStatus(
case policy::DM_STATUS_SERVICE_DEPROVISIONED:
UMAFailure(policy::kMetricEnrollmentDeprovisioned);
return;
+ case policy::DM_STATUS_SERVICE_DOMAIN_MISMATCH:
+ UMAFailure(policy::kMetricEnrollmentDomainMismatch);
+ return;
}
break;
case policy::EnrollmentStatus::STATUS_REGISTRATION_BAD_MODE:
« no previous file with comments | « chrome/app/chromeos_strings.grdp ('k') | chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698