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

Unified Diff: chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc

Issue 2382833002: Rename policy::EnterpriseInstallAttributes to chromeos::InstallAttributes. (Closed)
Patch Set: Add missing #includes. Created 4 years, 3 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/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 292f709c63b15cb2b19c99a820e426545879c76d..814dc526939b78643ae4a5ecdc8c6705eb100b6d 100644
--- a/chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc
@@ -302,27 +302,27 @@ void EnrollmentScreenHandler::ShowEnrollmentStatus(
return;
case policy::EnrollmentStatus::STATUS_LOCK_ERROR:
switch (status.lock_status()) {
- case policy::EnterpriseInstallAttributes::LOCK_SUCCESS:
- case policy::EnterpriseInstallAttributes::LOCK_NOT_READY:
+ case InstallAttributes::LOCK_SUCCESS:
+ case InstallAttributes::LOCK_NOT_READY:
// LOCK_SUCCESS is in contradiction of STATUS_LOCK_ERROR.
// LOCK_NOT_READY is transient, if retries are given up, LOCK_TIMEOUT
// is reported instead. This piece of code is unreached.
LOG(FATAL) << "Invalid lock status.";
return;
- case policy::EnterpriseInstallAttributes::LOCK_TIMEOUT:
+ case InstallAttributes::LOCK_TIMEOUT:
ShowError(IDS_ENTERPRISE_ENROLLMENT_STATUS_LOCK_TIMEOUT, false);
return;
- case policy::EnterpriseInstallAttributes::LOCK_BACKEND_INVALID:
- case policy::EnterpriseInstallAttributes::LOCK_ALREADY_LOCKED:
- case policy::EnterpriseInstallAttributes::LOCK_SET_ERROR:
- case policy::EnterpriseInstallAttributes::LOCK_FINALIZE_ERROR:
- case policy::EnterpriseInstallAttributes::LOCK_READBACK_ERROR:
+ case InstallAttributes::LOCK_BACKEND_INVALID:
+ case InstallAttributes::LOCK_ALREADY_LOCKED:
+ case InstallAttributes::LOCK_SET_ERROR:
+ case InstallAttributes::LOCK_FINALIZE_ERROR:
+ case InstallAttributes::LOCK_READBACK_ERROR:
ShowError(IDS_ENTERPRISE_ENROLLMENT_STATUS_LOCK_ERROR, false);
return;
- case policy::EnterpriseInstallAttributes::LOCK_WRONG_DOMAIN:
+ case InstallAttributes::LOCK_WRONG_DOMAIN:
ShowError(IDS_ENTERPRISE_ENROLLMENT_STATUS_LOCK_WRONG_USER, true);
return;
- case policy::EnterpriseInstallAttributes::LOCK_WRONG_MODE:
+ case InstallAttributes::LOCK_WRONG_MODE:
ShowError(IDS_ENTERPRISE_ENROLLMENT_STATUS_LOCK_WRONG_MODE, true);
return;
}
« no previous file with comments | « chrome/browser/net/errorpage_browsertest.cc ('k') | chrome/browser/ui/webui/options/preferences_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698