| 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 20 matching lines...) Expand all  Loading... | 
| 31 // String extern constants for the device and app type we report to the server. | 31 // String extern constants for the device and app type we report to the server. | 
| 32 POLICY_EXPORT extern const char kValueAppType[]; | 32 POLICY_EXPORT extern const char kValueAppType[]; | 
| 33 POLICY_EXPORT extern const char kValueDeviceType[]; | 33 POLICY_EXPORT extern const char kValueDeviceType[]; | 
| 34 POLICY_EXPORT extern const char kValueRequestAutoEnrollment[]; | 34 POLICY_EXPORT extern const char kValueRequestAutoEnrollment[]; | 
| 35 POLICY_EXPORT extern const char kValueRequestPolicy[]; | 35 POLICY_EXPORT extern const char kValueRequestPolicy[]; | 
| 36 POLICY_EXPORT extern const char kValueRequestRegister[]; | 36 POLICY_EXPORT extern const char kValueRequestRegister[]; | 
| 37 POLICY_EXPORT extern const char kValueRequestApiAuthorization[]; | 37 POLICY_EXPORT extern const char kValueRequestApiAuthorization[]; | 
| 38 POLICY_EXPORT extern const char kValueRequestUnregister[]; | 38 POLICY_EXPORT extern const char kValueRequestUnregister[]; | 
| 39 POLICY_EXPORT extern const char kValueRequestUploadCertificate[]; | 39 POLICY_EXPORT extern const char kValueRequestUploadCertificate[]; | 
| 40 POLICY_EXPORT extern const char kValueRequestDeviceStateRetrieval[]; | 40 POLICY_EXPORT extern const char kValueRequestDeviceStateRetrieval[]; | 
|  | 41 POLICY_EXPORT extern const char kValueRequestRemoteCommands[]; | 
| 41 POLICY_EXPORT extern const char kValueUserAffiliationManaged[]; | 42 POLICY_EXPORT extern const char kValueUserAffiliationManaged[]; | 
| 42 POLICY_EXPORT extern const char kValueUserAffiliationNone[]; | 43 POLICY_EXPORT extern const char kValueUserAffiliationNone[]; | 
| 43 | 44 | 
| 44 // Policy type strings for the policy_type field in PolicyFetchRequest. | 45 // Policy type strings for the policy_type field in PolicyFetchRequest. | 
| 45 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; | 46 POLICY_EXPORT extern const char kChromeDevicePolicyType[]; | 
| 46 POLICY_EXPORT extern const char kChromeUserPolicyType[]; | 47 POLICY_EXPORT extern const char kChromeUserPolicyType[]; | 
| 47 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; | 48 POLICY_EXPORT extern const char kChromePublicAccountPolicyType[]; | 
| 48 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; | 49 POLICY_EXPORT extern const char kChromeExtensionPolicyType[]; | 
| 49 | 50 | 
| 50 // These codes are sent in the |error_code| field of PolicyFetchResponse. | 51 // These codes are sent in the |error_code| field of PolicyFetchResponse. | 
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 154 | 155 | 
| 155 // Returns the management mode of |policy_data|. You should use this function | 156 // Returns the management mode of |policy_data|. You should use this function | 
| 156 // instead of using |management_mode| in |policy_data| to handle legacy | 157 // instead of using |management_mode| in |policy_data| to handle legacy | 
| 157 // |policy_data| that doesn't have |management_mode| set. | 158 // |policy_data| that doesn't have |management_mode| set. | 
| 158 POLICY_EXPORT ManagementMode GetManagementMode( | 159 POLICY_EXPORT ManagementMode GetManagementMode( | 
| 159     const enterprise_management::PolicyData& policy_data); | 160     const enterprise_management::PolicyData& policy_data); | 
| 160 | 161 | 
| 161 }  // namespace policy | 162 }  // namespace policy | 
| 162 | 163 | 
| 163 #endif  // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 164 #endif  // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 
| OLD | NEW | 
|---|