| 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 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[]; | 46 POLICY_EXPORT extern const char kValueRequestDeviceAttributeUpdate[]; |
| 47 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[]; | 47 POLICY_EXPORT extern const char kValueRequestGcmIdUpdate[]; |
| 48 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[]; | 48 POLICY_EXPORT extern const char kValueRequestCheckAndroidManagement[]; |
| 49 POLICY_EXPORT extern const char kValueRequestCertBasedRegister[]; | 49 POLICY_EXPORT extern const char kValueRequestCertBasedRegister[]; |
| 50 | 50 |
| 51 // Policy type strings for the policy_type field in PolicyFetchRequest. | 51 // Policy type strings for the policy_type field in PolicyFetchRequest. |
| 52 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; | 52 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; |
| 53 POLICY_EXPORT extern const char kChromeUserPolicyType[]; | 53 POLICY_EXPORT extern const char kChromeUserPolicyType[]; |
| 54 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; | 54 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; |
| 55 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; | 55 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; |
| 56 POLICY_EXPORT extern const char kChromeSigninExtensionPolicyType[]; |
| 56 | 57 |
| 57 // These codes are sent in the |error_code| field of PolicyFetchResponse. | 58 // These codes are sent in the |error_code| field of PolicyFetchResponse. |
| 58 enum PolicyFetchStatus { | 59 enum PolicyFetchStatus { |
| 59 POLICY_FETCH_SUCCESS = 200, | 60 POLICY_FETCH_SUCCESS = 200, |
| 60 POLICY_FETCH_ERROR_NOT_FOUND = 902, | 61 POLICY_FETCH_ERROR_NOT_FOUND = 902, |
| 61 }; | 62 }; |
| 62 | 63 |
| 63 } // namespace dm_protocol | 64 } // namespace dm_protocol |
| 64 | 65 |
| 65 // The header used to transmit the policy ID for this client. | 66 // The header used to transmit the policy ID for this client. |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // appropriate action (currently, launching | 130 // appropriate action (currently, launching |
| 130 // offline demo mode). | 131 // offline demo mode). |
| 131 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as | 132 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as |
| 132 // consumer kiosk with ability to auto | 133 // consumer kiosk with ability to auto |
| 133 // launch a kiosk webapp. | 134 // launch a kiosk webapp. |
| 134 }; | 135 }; |
| 135 | 136 |
| 136 } // namespace policy | 137 } // namespace policy |
| 137 | 138 |
| 138 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 139 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
| OLD | NEW |