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 kValueUserAffiliationManaged[]; | 34 extern const char kValueUserAffiliationManaged[]; |
34 extern const char kValueUserAffiliationNone[]; | 35 extern const char kValueUserAffiliationNone[]; |
35 | 36 |
36 // Policy type strings for the policy_type field in PolicyFetchRequest. | 37 // Policy type strings for the policy_type field in PolicyFetchRequest. |
37 extern const char kChromeDevicePolicyType[]; | 38 extern const char kChromeDevicePolicyType[]; |
38 extern const char kChromeUserPolicyType[]; | 39 extern const char kChromeUserPolicyType[]; |
39 extern const char kChromePublicAccountPolicyType[]; | 40 extern const char kChromePublicAccountPolicyType[]; |
40 extern const char kChromeExtensionPolicyType[]; | 41 extern const char kChromeExtensionPolicyType[]; |
41 | 42 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. | 96 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. |
96 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. | 97 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. |
97 }; | 98 }; |
98 | 99 |
99 // A pair that combines a policy fetch type and entity ID. | 100 // A pair that combines a policy fetch type and entity ID. |
100 typedef std::pair<std::string, std::string> PolicyNamespaceKey; | 101 typedef std::pair<std::string, std::string> PolicyNamespaceKey; |
101 | 102 |
102 } // namespace policy | 103 } // namespace policy |
103 | 104 |
104 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 105 #endif // CHROME_BROWSER_POLICY_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
OLD | NEW |