Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / policy / server_backed_device_state.h
blob6f8fb244e6373328b78ff16f91dafd6bbcd3f54b
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_SERVER_BACKED_DEVICE_STATE_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_SERVER_BACKED_DEVICE_STATE_H_
8 namespace policy {
10 // Dictionary key constants for prefs::kServerBackedDeviceState.
11 extern const char kDeviceStateManagementDomain[];
12 extern const char kDeviceStateRestoreMode[];
13 extern const char kDeviceStateDisabledMessage[];
15 // String constants used to persist the restorative action in the
16 // kDeviceStateRestoreMode dictionary entry.
17 extern const char kDeviceStateRestoreModeReEnrollmentRequested[];
18 extern const char kDeviceStateRestoreModeReEnrollmentEnforced[];
19 extern const char kDeviceStateRestoreModeDisabled[];
21 // Restorative action to take after device reset.
22 enum RestoreMode {
23 // No state restoration.
24 RESTORE_MODE_NONE = 0,
25 // Enterprise enrollment requested, but user may skip.
26 RESTORE_MODE_REENROLLMENT_REQUESTED = 1,
27 // Enterprise enrollment is enforced and cannot be skipped.
28 RESTORE_MODE_REENROLLMENT_ENFORCED = 2,
29 // The device has been disabled by its owner. The device will show a warning
30 // screen and prevent the user from proceeding further.
31 RESTORE_MODE_DISABLED = 3,
34 // Parses the contents of the kDeviceStateRestoreMode dictionary entry and
35 // returns it as a RestoreMode.
36 RestoreMode GetRestoreMode();
38 } // namespace policy
40 #endif // CHROME_BROWSER_CHROMEOS_POLICY_SERVER_BACKED_DEVICE_STATE_H_