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 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 100 |
101 // List of modes that the device can be locked into. | 101 // List of modes that the device can be locked into. |
102 enum DeviceMode { | 102 enum DeviceMode { |
103 DEVICE_MODE_PENDING, // The device mode is not yet available. | 103 DEVICE_MODE_PENDING, // The device mode is not yet available. |
104 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. | 104 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. |
105 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer | 105 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer |
106 // device. | 106 // device. |
107 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise | 107 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise |
108 // device. | 108 // device. |
109 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. | 109 DEVICE_MODE_RETAIL_KIOSK, // The device is enrolled as retail kiosk device. |
110 DEVICE_MODE_CONSUMER_KIOSK, // The device is locally owned as consumer kiosk. | 110 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as |
| 111 // consumer kiosk with ability to auto |
| 112 // launch a kiosk webapp. |
111 }; | 113 }; |
112 | 114 |
113 // A pair that combines a policy fetch type and entity ID. | 115 // A pair that combines a policy fetch type and entity ID. |
114 typedef std::pair<std::string, std::string> PolicyNamespaceKey; | 116 typedef std::pair<std::string, std::string> PolicyNamespaceKey; |
115 | 117 |
116 // Returns the Chrome user policy type to use. This allows overridding the | 118 // Returns the Chrome user policy type to use. This allows overridding the |
117 // default user policy type on Android and iOS for testing purposes. | 119 // default user policy type on Android and iOS for testing purposes. |
118 // TODO(joaodasilva): remove this once the server is ready. | 120 // TODO(joaodasilva): remove this once the server is ready. |
119 // http://crbug.com/248527 | 121 // http://crbug.com/248527 |
120 POLICY_EXPORT const char* GetChromeUserPolicyType(); | 122 POLICY_EXPORT const char* GetChromeUserPolicyType(); |
121 | 123 |
122 } // namespace policy | 124 } // namespace policy |
123 | 125 |
124 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 126 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
OLD | NEW |