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..582966ac9a16943d1e4f2c8cd1d6357403504220 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_UNKNOWN_ERROR; |
|
Thiemo Nagel
2017/02/03 12:45:49
Nit: I'd suggest to add a comment that the ARC_DIS
Marton Hunyady
2017/02/03 13:23:25
Done.
|
| } |
| NOTREACHED() << "Unhandled DM status " << status; |
| return IDS_POLICY_DM_STATUS_UNKNOWN_ERROR; |