OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 syntax = "proto2"; | 5 syntax = "proto2"; |
6 | 6 |
7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
8 | 8 |
9 package enterprise_management; | 9 package enterprise_management; |
10 | 10 |
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 // RESTORE_MODE_NONE. | 612 // RESTORE_MODE_NONE. |
613 message DeviceStateRetrievalResponse { | 613 message DeviceStateRetrievalResponse { |
614 // Restorative action to take after device reset. | 614 // Restorative action to take after device reset. |
615 enum RestoreMode { | 615 enum RestoreMode { |
616 // No state restoration. | 616 // No state restoration. |
617 RESTORE_MODE_NONE = 0; | 617 RESTORE_MODE_NONE = 0; |
618 // Enterprise enrollment requested, but user may skip. | 618 // Enterprise enrollment requested, but user may skip. |
619 RESTORE_MODE_REENROLLMENT_REQUESTED = 1; | 619 RESTORE_MODE_REENROLLMENT_REQUESTED = 1; |
620 // Enterprise enrollment is enforced and cannot be skipped. | 620 // Enterprise enrollment is enforced and cannot be skipped. |
621 RESTORE_MODE_REENROLLMENT_ENFORCED = 2; | 621 RESTORE_MODE_REENROLLMENT_ENFORCED = 2; |
| 622 // The device has been disabled by its owner. The device will show a warning |
| 623 // screen and prevent the user from proceeding further. |
| 624 RESTORE_MODE_DISABLED = 3; |
622 }; | 625 }; |
623 // The server-indicated restore mode. | 626 // The server-indicated restore mode. |
624 optional RestoreMode restore_mode = 1 [default = RESTORE_MODE_NONE]; | 627 optional RestoreMode restore_mode = 1 [default = RESTORE_MODE_NONE]; |
625 | 628 |
626 // Primary domain the device is associated with. | 629 // Primary domain the device is associated with. |
627 optional string management_domain = 2; | 630 optional string management_domain = 2; |
628 | 631 |
629 // The device is disabled and no logins are possible when this is set. | 632 // State that is relevant only when the |restore_mode| is |
| 633 // |RESTORE_MODE_DISABLED|. |
630 optional DisabledState disabled_state = 3; | 634 optional DisabledState disabled_state = 3; |
631 } | 635 } |
632 | 636 |
633 // Sent by the client to the server to pair the Host device with the Controller | 637 // Sent by the client to the server to pair the Host device with the Controller |
634 // device. The HTTP request contains an end-user OAuth token and only succeeds | 638 // device. The HTTP request contains an end-user OAuth token and only succeeds |
635 // if both Host and Controller devices belong to the end-user domain. | 639 // if both Host and Controller devices belong to the end-user domain. |
636 message DevicePairingRequest { | 640 message DevicePairingRequest { |
637 | 641 |
638 // The device ID of the Host device. | 642 // The device ID of the Host device. |
639 optional string host_device_id = 1; | 643 optional string host_device_id = 1; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
847 | 851 |
848 // Device-state retrieval. | 852 // Device-state retrieval. |
849 optional DeviceStateRetrievalResponse device_state_retrieval_response = 11; | 853 optional DeviceStateRetrievalResponse device_state_retrieval_response = 11; |
850 | 854 |
851 // Response to device pairing request. | 855 // Response to device pairing request. |
852 optional DevicePairingResponse device_pairing_response = 12; | 856 optional DevicePairingResponse device_pairing_response = 12; |
853 | 857 |
854 // Response to check device pairing request. | 858 // Response to check device pairing request. |
855 optional CheckDevicePairingResponse check_device_pairing_response = 13; | 859 optional CheckDevicePairingResponse check_device_pairing_response = 13; |
856 } | 860 } |
OLD | NEW |