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

Unified Diff: components/policy/core/browser/cloud/message_util.cc

Issue 2655873002: Get enrollment token from DMServer when an Active Directory user uses ARC (Closed)
Patch Set: Remove unnecessary includes Created 3 years, 11 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: 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;
}
NOTREACHED() << "Unhandled DM status " << status;
return IDS_POLICY_DM_STATUS_UNKNOWN_ERROR;

Powered by Google App Engine
This is Rietveld 408576698