Chromium Code Reviews| Index: components/policy/core/common/cloud/device_management_service.cc |
| diff --git a/components/policy/core/common/cloud/device_management_service.cc b/components/policy/core/common/cloud/device_management_service.cc |
| index 95b9c3c588b6565ccb343610cf0f6186f0900cba..5d01ff8628a0fc79322c08e74a8e64588be7a76f 100644 |
| --- a/components/policy/core/common/cloud/device_management_service.cc |
| +++ b/components/policy/core/common/cloud/device_management_service.cc |
| @@ -41,6 +41,7 @@ const int kMissingLicenses = 402; |
| const int kDeviceManagementNotAllowed = 403; |
| const int kInvalidURL = 404; // This error is not coming from the GFE. |
| const int kInvalidSerialNumber = 405; |
| +const int kDomainMismatch = 406; |
|
Joao da Silva
2014/03/27 18:04:47
Should Bin have a look at this?
Mattias Nissler (ping if slow)
2014/03/27 21:04:19
We had a mail thread about this, the CL is the res
|
| const int kDeviceIdConflict = 409; |
| const int kDeviceNotFound = 410; |
| const int kPendingApproval = 412; |
| @@ -259,6 +260,9 @@ void DeviceManagementRequestJobImpl::HandleResponse( |
| case kInvalidSerialNumber: |
| ReportError(DM_STATUS_SERVICE_INVALID_SERIAL_NUMBER); |
| return; |
| + case kDomainMismatch: |
| + ReportError(DM_STATUS_SERVICE_DOMAIN_MISMATCH); |
| + return; |
| case kDeprovisioned: |
| ReportError(DM_STATUS_SERVICE_DEPROVISIONED); |
| return; |