| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 FLAVOR_ENROLLMENT_SERVER_FORCED = 4; | 82 FLAVOR_ENROLLMENT_SERVER_FORCED = 4; |
| 83 // Device state downloaded from the server during OOBE indicates that the | 83 // Device state downloaded from the server during OOBE indicates that the |
| 84 // device should prompt for (re-)enrollment, but the user is allowed to | 84 // device should prompt for (re-)enrollment, but the user is allowed to |
| 85 // skip. | 85 // skip. |
| 86 FLAVOR_ENROLLMENT_SERVER_ADVERTISED = 5; | 86 FLAVOR_ENROLLMENT_SERVER_ADVERTISED = 5; |
| 87 // Device detected in steady state that it is supposed to be enrolled, but | 87 // Device detected in steady state that it is supposed to be enrolled, but |
| 88 // the policy is missing. | 88 // the policy is missing. |
| 89 FLAVOR_ENROLLMENT_RECOVERY = 6; | 89 FLAVOR_ENROLLMENT_RECOVERY = 6; |
| 90 // User policy registration for a logged-in user. | 90 // User policy registration for a logged-in user. |
| 91 FLAVOR_USER_REGISTRATION = 7; | 91 FLAVOR_USER_REGISTRATION = 7; |
| 92 // Attestation-based with the option to use a different authentication |
| 93 // mechanism. |
| 94 FLAVOR_ENROLLMENT_ATTESTATION = 8; |
| 95 // Attestation-based enrollment. |
| 96 FLAVOR_ENROLLMENT_ATTESTATION_FORCED = 9; |
| 92 }; | 97 }; |
| 93 | 98 |
| 94 // Indicates the registration flavor. This is passed to the server FYI when | 99 // Indicates the registration flavor. This is passed to the server FYI when |
| 95 // registering for policy so the server can distinguish registration triggers. | 100 // registering for policy so the server can distinguish registration triggers. |
| 96 optional Flavor flavor = 8; | 101 optional Flavor flavor = 8; |
| 97 } | 102 } |
| 98 | 103 |
| 99 // Response from server to device register request. | 104 // Response from server to device register request. |
| 100 message DeviceRegisterResponse { | 105 message DeviceRegisterResponse { |
| 101 // Device management token for this registration. This token MUST be | 106 // Device management token for this registration. This token MUST be |
| (...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 // Response to update device attribute. | 1294 // Response to update device attribute. |
| 1290 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; | 1295 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; |
| 1291 | 1296 |
| 1292 // Response to GCM id update request. | 1297 // Response to GCM id update request. |
| 1293 optional GcmIdUpdateResponse gcm_id_update_response = 17; | 1298 optional GcmIdUpdateResponse gcm_id_update_response = 17; |
| 1294 | 1299 |
| 1295 // Response to check Android management request. | 1300 // Response to check Android management request. |
| 1296 optional CheckAndroidManagementResponse | 1301 optional CheckAndroidManagementResponse |
| 1297 check_android_management_response = 18; | 1302 check_android_management_response = 18; |
| 1298 } | 1303 } |
| OLD | NEW |