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

Unified Diff: chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.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/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc
diff --git a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc
index aff226d19710a63a589c6ef15e32a2b5dc6ca8a7..7ea944a29bb429d6575eebce5ad6e222346fa7d6 100644
--- a/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc
+++ b/chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper_impl.cc
@@ -366,32 +366,32 @@ void EnterpriseEnrollmentHelperImpl::ReportEnrollmentStatus(
break;
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:
NOTREACHED();
break;
- case policy::EnterpriseInstallAttributes::LOCK_TIMEOUT:
+ case InstallAttributes::LOCK_TIMEOUT:
UMA(policy::kMetricEnrollmentLockboxTimeoutError);
break;
- case policy::EnterpriseInstallAttributes::LOCK_BACKEND_INVALID:
+ case InstallAttributes::LOCK_BACKEND_INVALID:
UMA(policy::kMetricEnrollmentLockBackendInvalid);
break;
- case policy::EnterpriseInstallAttributes::LOCK_ALREADY_LOCKED:
+ case InstallAttributes::LOCK_ALREADY_LOCKED:
UMA(policy::kMetricEnrollmentLockAlreadyLocked);
break;
- case policy::EnterpriseInstallAttributes::LOCK_SET_ERROR:
+ case InstallAttributes::LOCK_SET_ERROR:
UMA(policy::kMetricEnrollmentLockSetError);
break;
- case policy::EnterpriseInstallAttributes::LOCK_FINALIZE_ERROR:
+ case InstallAttributes::LOCK_FINALIZE_ERROR:
UMA(policy::kMetricEnrollmentLockFinalizeError);
break;
- case policy::EnterpriseInstallAttributes::LOCK_READBACK_ERROR:
+ case InstallAttributes::LOCK_READBACK_ERROR:
UMA(policy::kMetricEnrollmentLockReadbackError);
break;
- case policy::EnterpriseInstallAttributes::LOCK_WRONG_DOMAIN:
+ case InstallAttributes::LOCK_WRONG_DOMAIN:
UMA(policy::kMetricEnrollmentLockDomainMismatch);
break;
- case policy::EnterpriseInstallAttributes::LOCK_WRONG_MODE:
+ case InstallAttributes::LOCK_WRONG_MODE:
UMA(policy::kMetricEnrollmentLockModeMismatch);
break;
}

Powered by Google App Engine
This is Rietveld 408576698