OLD | NEW |
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 CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 extern const char kParamPlatform[]; | 22 extern const char kParamPlatform[]; |
23 extern const char kParamRequest[]; | 23 extern const char kParamRequest[]; |
24 extern const char kParamUserAffiliation[]; | 24 extern const char kParamUserAffiliation[]; |
25 | 25 |
26 // String extern constants for the device and app type we report to the server. | 26 // String extern constants for the device and app type we report to the server. |
27 extern const char kValueAppType[]; | 27 extern const char kValueAppType[]; |
28 extern const char kValueDeviceType[]; | 28 extern const char kValueDeviceType[]; |
29 extern const char kValueRequestAutoEnrollment[]; | 29 extern const char kValueRequestAutoEnrollment[]; |
30 extern const char kValueRequestPolicy[]; | 30 extern const char kValueRequestPolicy[]; |
31 extern const char kValueRequestRegister[]; | 31 extern const char kValueRequestRegister[]; |
| 32 extern const char kValueRequestApiAuthorization[]; |
32 extern const char kValueRequestUnregister[]; | 33 extern const char kValueRequestUnregister[]; |
33 extern const char kValueRequestUploadCertificate[]; | 34 extern const char kValueRequestUploadCertificate[]; |
34 extern const char kValueUserAffiliationManaged[]; | 35 extern const char kValueUserAffiliationManaged[]; |
35 extern const char kValueUserAffiliationNone[]; | 36 extern const char kValueUserAffiliationNone[]; |
36 | 37 |
37 // Policy type strings for the policy_type field in PolicyFetchRequest. | 38 // Policy type strings for the policy_type field in PolicyFetchRequest. |
38 extern const char kChromeDevicePolicyType[]; | 39 extern const char kChromeDevicePolicyType[]; |
39 extern const char kChromeUserPolicyType[]; | 40 extern const char kChromeUserPolicyType[]; |
40 extern const char kChromePublicAccountPolicyType[]; | 41 extern const char kChromePublicAccountPolicyType[]; |
41 extern const char kChromeExtensionPolicyType[]; | 42 extern const char kChromeExtensionPolicyType[]; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. | 97 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. |
97 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. | 98 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. |
98 }; | 99 }; |
99 | 100 |
100 // A pair that combines a policy fetch type and entity ID. | 101 // A pair that combines a policy fetch type and entity ID. |
101 typedef std::pair<std::string, std::string> PolicyNamespaceKey; | 102 typedef std::pair<std::string, std::string> PolicyNamespaceKey; |
102 | 103 |
103 } // namespace policy | 104 } // namespace policy |
104 | 105 |
105 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 106 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
OLD | NEW |