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

Unified Diff: components/policy/core/common/cloud/cloud_policy_constants.h

Issue 2261763002: Device enterprise registration with a certificate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initialize pointers to nullptr. Created 4 years, 4 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/common/cloud/cloud_policy_constants.h
diff --git a/components/policy/core/common/cloud/cloud_policy_constants.h b/components/policy/core/common/cloud/cloud_policy_constants.h
index fc75e2d30b3234ea8f37e51774c0a6fe491cf458..cc11fdcee9bdc2b59ae552a2ee5829e5672fe589 100644
--- a/components/policy/core/common/cloud/cloud_policy_constants.h
+++ b/components/policy/core/common/cloud/cloud_policy_constants.h
@@ -43,6 +43,7 @@ POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdatePermission[];
POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[];
POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[];
POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[];
+POLICY_EXPORT extern const char kValueRequestCertBasedRegister[];
// Policy type strings for the policy_type field in PolicyFetchRequest.
POLICY_EXPORT extern const char kChromeDevicePolicyType[];
@@ -102,6 +103,8 @@ enum DeviceManagementStatus {
DM_STATUS_SERVICE_DEPROVISIONED = 13,
// Service error: Device registration for the wrong domain.
DM_STATUS_SERVICE_DOMAIN_MISMATCH = 14,
+ // Client error: Reuest could not be signed.
+ DM_STATUS_CANNOT_SIGN_REQUEST = 15,
// Service error: Policy not found. Error code defined by the DM folks.
DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902,
};

Powered by Google App Engine
This is Rietveld 408576698