| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 }; | 110 }; |
| 111 | 111 |
| 112 // List of modes that the device can be locked into. | 112 // List of modes that the device can be locked into. |
| 113 enum DeviceMode { | 113 enum DeviceMode { |
| 114 DEVICE_MODE_PENDING, // The device mode is not yet available. | 114 DEVICE_MODE_PENDING, // The device mode is not yet available. |
| 115 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. | 115 DEVICE_MODE_NOT_SET, // The device is not yet enrolled or owned. |
| 116 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer | 116 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer |
| 117 // device. | 117 // device. |
| 118 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise | 118 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise |
| 119 // device. | 119 // device. |
| 120 DEVICE_MODE_ENTERPRISE_AD, // The device has joined AD. |
| 120 DEVICE_MODE_LEGACY_RETAIL_MODE, // The device is enrolled as a retail kiosk | 121 DEVICE_MODE_LEGACY_RETAIL_MODE, // The device is enrolled as a retail kiosk |
| 121 // device. Even though retail mode is | 122 // device. Even though retail mode is |
| 122 // deprecated, we still check for this device | 123 // deprecated, we still check for this device |
| 123 // mode so that if an existing device is | 124 // mode so that if an existing device is |
| 124 // still enrolled in retail mode, we take the | 125 // still enrolled in retail mode, we take the |
| 125 // appropriate action (currently, launching | 126 // appropriate action (currently, launching |
| 126 // offline demo mode). | 127 // offline demo mode). |
| 127 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as | 128 DEVICE_MODE_CONSUMER_KIOSK_AUTOLAUNCH, // The device is locally owned as |
| 128 // consumer kiosk with ability to auto | 129 // consumer kiosk with ability to auto |
| 129 // launch a kiosk webapp. | 130 // launch a kiosk webapp. |
| 130 }; | 131 }; |
| 131 | 132 |
| 132 } // namespace policy | 133 } // namespace policy |
| 133 | 134 |
| 134 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ | 135 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_CLOUD_POLICY_CONSTANTS_H_ |
| OLD | NEW |