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

Side by Side Diff: components/policy/core/common/cloud/cloud_policy_constants.h

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/policy/policy_export.h" 10 #include "components/policy/policy_export.h"
(...skipping 25 matching lines...) Expand all
36 POLICY_EXPORT extern const char kValueRequestUnregister[]; 36 POLICY_EXPORT extern const char kValueRequestUnregister[];
37 POLICY_EXPORT extern const char kValueRequestUploadCertificate[]; 37 POLICY_EXPORT extern const char kValueRequestUploadCertificate[];
38 POLICY_EXPORT extern const char kValueRequestDeviceStateRetrieval[]; 38 POLICY_EXPORT extern const char kValueRequestDeviceStateRetrieval[];
39 POLICY_EXPORT extern const char kValueRequestUploadStatus[]; 39 POLICY_EXPORT extern const char kValueRequestUploadStatus[];
40 POLICY_EXPORT extern const char kValueRequestRemoteCommands[]; 40 POLICY_EXPORT extern const char kValueRequestRemoteCommands[];
41 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdatePermission[]; 41 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdatePermission[];
42 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[]; 42 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[];
43 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[]; 43 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[];
44 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[]; 44 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[];
45 POLICY_EXPORT extern const char kValueRequestCertBasedRegister[]; 45 POLICY_EXPORT extern const char kValueRequestCertBasedRegister[];
46 POLICY_EXPORT extern const char kValueRequestActiveDirectoryEnrollPlayUser[];
47 POLICY_EXPORT extern const char kValueRequestActiveDirectoryPlayActivity[];
46 48
47 // Policy type strings for the policy_type field in PolicyFetchRequest. 49 // Policy type strings for the policy_type field in PolicyFetchRequest.
48 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; 50 POLICY_EXPORT extern const char kChromeDevicePolicyType[];
49 POLICY_EXPORT extern const char kChromeUserPolicyType[]; 51 POLICY_EXPORT extern const char kChromeUserPolicyType[];
50 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; 52 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[];
51 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; 53 POLICY_EXPORT extern const char kChromeExtensionPolicyType[];
52 POLICY_EXPORT extern const char kChromeSigninExtensionPolicyType[]; 54 POLICY_EXPORT extern const char kChromeSigninExtensionPolicyType[];
53 55
54 // These codes are sent in the |error_code| field of PolicyFetchResponse. 56 // These codes are sent in the |error_code| field of PolicyFetchResponse.
55 enum PolicyFetchStatus { 57 enum PolicyFetchStatus {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Service error: The licenses have expired or have been exhausted. 104 // Service error: The licenses have expired or have been exhausted.
103 DM_STATUS_SERVICE_MISSING_LICENSES = 12, 105 DM_STATUS_SERVICE_MISSING_LICENSES = 12,
104 // Service error: The administrator has deprovisioned this client. 106 // Service error: The administrator has deprovisioned this client.
105 DM_STATUS_SERVICE_DEPROVISIONED = 13, 107 DM_STATUS_SERVICE_DEPROVISIONED = 13,
106 // Service error: Device registration for the wrong domain. 108 // Service error: Device registration for the wrong domain.
107 DM_STATUS_SERVICE_DOMAIN_MISMATCH = 14, 109 DM_STATUS_SERVICE_DOMAIN_MISMATCH = 14,
108 // Client error: Request could not be signed. 110 // Client error: Request could not be signed.
109 DM_STATUS_CANNOT_SIGN_REQUEST = 15, 111 DM_STATUS_CANNOT_SIGN_REQUEST = 15,
110 // Service error: Policy not found. Error code defined by the DM folks. 112 // Service error: Policy not found. Error code defined by the DM folks.
111 DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902, 113 DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902,
114 // Service error: ARC is not enabled on this domain.
115 DM_STATUS_SERVICE_ARC_DISABLED = 904,
112 }; 116 };
113 117
114 // List of modes that the device can be locked into. 118 // List of modes that the device can be locked into.
115 enum DeviceMode { 119 enum DeviceMode {
116 DEVICE_MODE_PENDING, // The device mode is not yet available. 120 DEVICE_MODE_PENDING, // The device mode is not yet available.
117 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. 121 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned.
118 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer 122 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer
119 // device. 123 // device.
120 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise 124 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise
121 // device. 125 // device.
122 DEVICE_MODE_ENTERPRISE_AD, // The device has joined AD. 126 DEVICE_MODE_ENTERPRISE_AD, // The device has joined AD.
123 DEVICE_MODE_LEGACY_RETAIL_MODE, // The device is enrolled as a retail kiosk 127 DEVICE_MODE_LEGACY_RETAIL_MODE, // The device is enrolled as a retail kiosk
124 // device. Even though retail mode is 128 // device. Even though retail mode is
125 // deprecated, we still check for this device 129 // deprecated, we still check for this device
126 // mode so that if an existing device is 130 // mode so that if an existing device is
127 // still enrolled in retail mode, we take the 131 // still enrolled in retail mode, we take the
128 // appropriate action (currently, launching 132 // appropriate action (currently, launching
129 // offline demo mode). 133 // offline demo mode).
130 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as 134 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as
131 // consumer kiosk with ability to auto 135 // consumer kiosk with ability to auto
132 // launch a kiosk webapp. 136 // launch a kiosk webapp.
133 }; 137 };
134 138
135 } // namespace policy 139 } // namespace policy
136 140
137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ 141 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_
OLDNEW
« no previous file with comments | « components/policy/core/browser/cloud/message_util.cc ('k') | components/policy/core/common/cloud/cloud_policy_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698