| 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 kParamCritical[]; |
| 24 POLICY_EXPORT extern const char kParamDeviceID[]; | 25 POLICY_EXPORT extern const char kParamDeviceID[]; |
| 25 POLICY_EXPORT extern const char kParamDeviceType[]; | 26 POLICY_EXPORT extern const char kParamDeviceType[]; |
| 26 POLICY_EXPORT extern const char kParamLastError[]; | 27 POLICY_EXPORT extern const char kParamLastError[]; |
| 27 POLICY_EXPORT extern const char kParamOAuthToken[]; | 28 POLICY_EXPORT extern const char kParamOAuthToken[]; |
| 28 POLICY_EXPORT extern const char kParamPlatform[]; | 29 POLICY_EXPORT extern const char kParamPlatform[]; |
| 29 POLICY_EXPORT extern const char kParamRequest[]; | 30 POLICY_EXPORT extern const char kParamRequest[]; |
| 30 POLICY_EXPORT extern const char kParamRetry[]; | 31 POLICY_EXPORT extern const char kParamRetry[]; |
| 31 | 32 |
| 32 // String extern constants for the device and app type we report to the server. | 33 // String extern constants for the device and app type we report to the server. |
| 33 POLICY_EXPORT extern const char kValueAppType[]; | 34 POLICY_EXPORT extern const char kValueAppType[]; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // appropriate action (currently, launching | 129 // appropriate action (currently, launching |
| 129 // offline demo mode). | 130 // offline demo mode). |
| 130 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as | 131 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as |
| 131 // consumer kiosk with ability to auto | 132 // consumer kiosk with ability to auto |
| 132 // launch a kiosk webapp. | 133 // launch a kiosk webapp. |
| 133 }; | 134 }; |
| 134 | 135 |
| 135 } // namespace policy | 136 } // namespace policy |
| 136 | 137 |
| 137 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 138 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
| OLD | NEW |