| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 FLAVOR_ENROLLMENT_SERVER_FORCED = 4; | 72 FLAVOR_ENROLLMENT_SERVER_FORCED = 4; |
| 73 // Device state downloaded from the server during OOBE indicates that the | 73 // Device state downloaded from the server during OOBE indicates that the |
| 74 // device should prompt for (re-)enrollment, but the user is allowed to | 74 // device should prompt for (re-)enrollment, but the user is allowed to |
| 75 // skip. | 75 // skip. |
| 76 FLAVOR_ENROLLMENT_SERVER_ADVERTISED = 5; | 76 FLAVOR_ENROLLMENT_SERVER_ADVERTISED = 5; |
| 77 // Device detected in steady state that it is supposed to be enrolled, but | 77 // Device detected in steady state that it is supposed to be enrolled, but |
| 78 // the policy is missing. | 78 // the policy is missing. |
| 79 FLAVOR_ENROLLMENT_RECOVERY = 6; | 79 FLAVOR_ENROLLMENT_RECOVERY = 6; |
| 80 // User policy registration for a logged-in user. | 80 // User policy registration for a logged-in user. |
| 81 FLAVOR_USER_REGISTRATION = 7; | 81 FLAVOR_USER_REGISTRATION = 7; |
| 82 // Attestation-based with the option to use a different authentication |
| 83 // mechanism. |
| 84 FLAVOR_ENROLLMENT_ATTESTATION = 8; |
| 85 // Attestation-based enrollment. |
| 86 FLAVOR_ENROLLMENT_ATTESTATION_FORCED = 9; |
| 82 }; | 87 }; |
| 83 | 88 |
| 84 // Indicates the registration flavor. This is passed to the server FYI when | 89 // Indicates the registration flavor. This is passed to the server FYI when |
| 85 // registering for policy so the server can distinguish registration triggers. | 90 // registering for policy so the server can distinguish registration triggers. |
| 86 optional Flavor flavor = 8; | 91 optional Flavor flavor = 8; |
| 87 } | 92 } |
| 88 | 93 |
| 89 // Response from server to device register request. | 94 // Response from server to device register request. |
| 90 message DeviceRegisterResponse { | 95 message DeviceRegisterResponse { |
| 91 // Device management token for this registration. This token MUST be | 96 // Device management token for this registration. This token MUST be |
| (...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1250 // Response to update device attribute. | 1255 // Response to update device attribute. |
| 1251 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; | 1256 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; |
| 1252 | 1257 |
| 1253 // Response to GCM id update request. | 1258 // Response to GCM id update request. |
| 1254 optional GcmIdUpdateResponse gcm_id_update_response = 17; | 1259 optional GcmIdUpdateResponse gcm_id_update_response = 17; |
| 1255 | 1260 |
| 1256 // Response to check Android management request. | 1261 // Response to check Android management request. |
| 1257 optional CheckAndroidManagementResponse | 1262 optional CheckAndroidManagementResponse |
| 1258 check_android_management_response = 18; | 1263 check_android_management_response = 18; |
| 1259 } | 1264 } |
| OLD | NEW |