Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Unified Diff: components/policy/proto/device_management_backend.proto

Issue 690643002: Add RESTORE_MODE_DISABLED to RestoreMode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comment. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698