Chromium Code Reviews| Index: components/policy/core/browser/cloud/message_util.cc |
| diff --git a/components/policy/core/browser/cloud/message_util.cc b/components/policy/core/browser/cloud/message_util.cc |
| index 2292b5b7b007bd5c4f76edae2da1475f36bf8ad7..9672332c0399d2c8b54a2e7e7d96862a3fea207f 100644 |
| --- a/components/policy/core/browser/cloud/message_util.cc |
| +++ b/components/policy/core/browser/cloud/message_util.cc |
| @@ -48,6 +48,8 @@ int GetIDSForDMStatus(DeviceManagementStatus status) { |
| return IDS_POLICY_DM_STATUS_SERVICE_POLICY_NOT_FOUND; |
| case DM_STATUS_CANNOT_SIGN_REQUEST: |
| return IDS_POLICY_DM_STATUS_CANNOT_SIGN_REQUEST; |
| + case DM_STATUS_SERVICE_ARC_DISABLED: |
| + return IDS_POLICY_DM_STATUS_SERVICE_ARC_DISABLED; |
|
Thiemo Nagel
2017/02/02 13:24:59
I think it's fair to return UNKNOWN_ERROR here sin
Marton Hunyady
2017/02/02 18:19:06
Done.
|
| } |
| NOTREACHED() << "Unhandled DM status " << status; |
| return IDS_POLICY_DM_STATUS_UNKNOWN_ERROR; |