| Index: chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc
|
| diff --git a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc
|
| index 991bec4aa176a45880e0f94297ea4c3d9b797a3d..657a225f2401e5c40c13c6c0e6964fb2c76095eb 100644
|
| --- a/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc
|
| +++ b/chrome/browser/chromeos/policy/enrollment_handler_chromeos.cc
|
| @@ -170,9 +170,10 @@ void EnrollmentHandlerChromeOS::OnPolicyFetched(CloudPolicyClient* client) {
|
| CloudPolicyValidatorBase::TIMESTAMP_FULLY_VALIDATED);
|
|
|
| // If this is re-enrollment, make sure that the new policy matches the
|
| - // previously-enrolled domain.
|
| + // previously-enrolled domain. (Currently only implemented for cloud
|
| + // management.)
|
| std::string domain;
|
| - if (install_attributes_->IsEnterpriseManaged()) {
|
| + if (install_attributes_->IsCloudManaged()) {
|
| domain = install_attributes_->GetDomain();
|
| validator->ValidateDomain(domain);
|
| }
|
|
|