| 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" |
| 11 | 11 |
| 12 namespace enterprise_management { | 12 namespace enterprise_management { |
| 13 class PolicyData; | 13 class PolicyData; |
| 14 } | 14 } |
| 15 | 15 |
| 16 namespace policy { | 16 namespace policy { |
| 17 | 17 |
| 18 // Constants related to the device management protocol. | 18 // Constants related to the device management protocol. |
| 19 namespace dm_protocol { | 19 namespace dm_protocol { |
| 20 | 20 |
| 21 // Name extern constants for URL query parameters. | 21 // Name extern constants for URL query parameters. |
| 22 POLICY_EXPORT extern const char kParamAgent[]; | 22 POLICY_EXPORT extern const char kParamAgent[]; |
| 23 POLICY_EXPORT extern const char kParamAppType[]; | 23 POLICY_EXPORT extern const char kParamAppType[]; |
| 24 POLICY_EXPORT extern const char kParamDeviceID[]; | 24 POLICY_EXPORT extern const char kParamDeviceID[]; |
| 25 POLICY_EXPORT extern const char kParamDeviceType[]; | 25 POLICY_EXPORT extern const char kParamDeviceType[]; |
| 26 POLICY_EXPORT extern const char kParamLastError[]; |
| 26 POLICY_EXPORT extern const char kParamOAuthToken[]; | 27 POLICY_EXPORT extern const char kParamOAuthToken[]; |
| 27 POLICY_EXPORT extern const char kParamPlatform[]; | 28 POLICY_EXPORT extern const char kParamPlatform[]; |
| 28 POLICY_EXPORT extern const char kParamRequest[]; | 29 POLICY_EXPORT extern const char kParamRequest[]; |
| 30 POLICY_EXPORT extern const char kParamRetry[]; |
| 29 | 31 |
| 30 // String extern constants for the device and app type we report to the server. | 32 // String extern constants for the device and app type we report to the server. |
| 31 POLICY_EXPORT extern const char kValueAppType[]; | 33 POLICY_EXPORT extern const char kValueAppType[]; |
| 32 POLICY_EXPORT extern const char kValueDeviceType[]; | 34 POLICY_EXPORT extern const char kValueDeviceType[]; |
| 33 POLICY_EXPORT extern const char kValueRequestAutoEnrollment[]; | 35 POLICY_EXPORT extern const char kValueRequestAutoEnrollment[]; |
| 34 POLICY_EXPORT extern const char kValueRequestPolicy[]; | 36 POLICY_EXPORT extern const char kValueRequestPolicy[]; |
| 35 POLICY_EXPORT extern const char kValueRequestRegister[]; | 37 POLICY_EXPORT extern const char kValueRequestRegister[]; |
| 36 POLICY_EXPORT extern const char kValueRequestApiAuthorization[]; | 38 POLICY_EXPORT extern const char kValueRequestApiAuthorization[]; |
| 37 POLICY_EXPORT extern const char kValueRequestUnregister[]; | 39 POLICY_EXPORT extern const char kValueRequestUnregister[]; |
| 38 POLICY_EXPORT extern const char kValueRequestUploadCertificate[]; | 40 POLICY_EXPORT extern const char kValueRequestUploadCertificate[]; |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 // appropriate action (currently, launching | 127 // appropriate action (currently, launching |
| 126 // offline demo mode). | 128 // offline demo mode). |
| 127 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as | 129 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as |
| 128 // consumer kiosk with ability to auto | 130 // consumer kiosk with ability to auto |
| 129 // launch a kiosk webapp. | 131 // launch a kiosk webapp. |
| 130 }; | 132 }; |
| 131 | 133 |
| 132 } // namespace policy | 134 } // namespace policy |
| 133 | 135 |
| 134 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 136 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
| OLD | NEW |