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

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: Fix Luis's comments Created 3 years, 10 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
« no previous file with comments | « components/arc/common/auth.mojom ('k') | components/policy/core/common/cloud/cloud_policy_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3c12f9e3981931d94611623668f0c33b29b0c5b1 100644
--- a/components/policy/core/browser/cloud/message_util.cc
+++ b/components/policy/core/browser/cloud/message_util.cc
@@ -48,6 +48,9 @@ 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:
+ // This error is never shown on the UI.
+ return IDS_POLICY_DM_STATUS_UNKNOWN_ERROR;
}
NOTREACHED() << "Unhandled DM status " << status;
return IDS_POLICY_DM_STATUS_UNKNOWN_ERROR;
« no previous file with comments | « components/arc/common/auth.mojom ('k') | components/policy/core/common/cloud/cloud_policy_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698