Index: components/policy/proto/device_management_backend.proto |
diff --git a/components/policy/proto/device_management_backend.proto b/components/policy/proto/device_management_backend.proto |
index e3b69391b23cb8c3f0763ddae0f6e085323e82a7..a4bee8013f542408329aee98f55dd704e603c440 100644 |
--- a/components/policy/proto/device_management_backend.proto |
+++ b/components/policy/proto/device_management_backend.proto |
@@ -619,6 +619,9 @@ message DeviceStateRetrievalResponse { |
RESTORE_MODE_REENROLLMENT_REQUESTED = 1; |
// Enterprise enrollment is enforced and cannot be skipped. |
RESTORE_MODE_REENROLLMENT_ENFORCED = 2; |
+ // The device has been disabled by its owner. The device will show a warning |
+ // screen and prevent the user from proceeding further. |
+ RESTORE_MODE_DISABLED = 3; |
}; |
// The server-indicated restore mode. |
optional RestoreMode restore_mode = 1 [default = RESTORE_MODE_NONE]; |
@@ -626,7 +629,8 @@ message DeviceStateRetrievalResponse { |
// Primary domain the device is associated with. |
optional string management_domain = 2; |
- // The device is disabled and no logins are possible when this is set. |
+ // State that is relevant only when the |restore_mode| is |
+ // |RESTORE_MODE_DISABLED|. |
optional DisabledState disabled_state = 3; |
} |