| 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 CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ | 5 #ifndef CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ |
| 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ | 6 #define CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 namespace policy { | 9 namespace policy { |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 // Service error: Activation pending. | 74 // Service error: Activation pending. |
| 75 DM_STATUS_SERVICE_ACTIVATION_PENDING, | 75 DM_STATUS_SERVICE_ACTIVATION_PENDING, |
| 76 // Service error: The serial number is not valid or not known to the server. | 76 // Service error: The serial number is not valid or not known to the server. |
| 77 DM_STATUS_SERVICE_INVALID_SERIAL_NUMBER, | 77 DM_STATUS_SERVICE_INVALID_SERIAL_NUMBER, |
| 78 // Service error: The device id used for registration is already taken. | 78 // Service error: The device id used for registration is already taken. |
| 79 DM_STATUS_SERVICE_DEVICE_ID_CONFLICT, | 79 DM_STATUS_SERVICE_DEVICE_ID_CONFLICT, |
| 80 // Service error: Policy not found. Error code defined by the DM folks. | 80 // Service error: Policy not found. Error code defined by the DM folks. |
| 81 DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902, | 81 DM_STATUS_SERVICE_POLICY_NOT_FOUND = 902, |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 // List of modes that the device can be locked into. |
| 85 enum DeviceMode { |
| 86 DEVICE_MODE_UNKNOWN, // The device is not yet enrolled or owned. |
| 87 DEVICE_MODE_CONSUMER, // The device is locally owned as consumer device. |
| 88 DEVICE_MODE_ENTERPRISE, // The device is enrolled as an enterprise device. |
| 89 DEVICE_MODE_KIOSK, // The device is enrolled as kiosk/retail device. |
| 90 }; |
| 91 |
| 84 } // namespace policy | 92 } // namespace policy |
| 85 | 93 |
| 86 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ | 94 #endif // CHROME_BROWSER_POLICY_CLOUD_POLICY_CONSTANTS_H_ |
| OLD | NEW |