| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 | 229 |
| 230 // Indicates if the the server cannot find a valid serial number for the | 230 // Indicates if the the server cannot find a valid serial number for the |
| 231 // device. If this flag is set, the device should send the valid serial | 231 // device. If this flag is set, the device should send the valid serial |
| 232 // number with a device policy fetch request. Note that this only | 232 // number with a device policy fetch request. Note that this only |
| 233 // applies to device policy. | 233 // applies to device policy. |
| 234 optional bool valid_serial_number_missing = 10; | 234 optional bool valid_serial_number_missing = 10; |
| 235 | 235 |
| 236 // Indicates which public account or extension/plug-in this policy data is | 236 // Indicates which public account or extension/plug-in this policy data is |
| 237 // for. See PolicyFetchRequest.settings_entity_id for more details. | 237 // for. See PolicyFetchRequest.settings_entity_id for more details. |
| 238 optional string settings_entity_id = 11; | 238 optional string settings_entity_id = 11; |
| 239 |
| 240 // Indicates the identity the device service account is associated with. |
| 241 // This is only sent as part of device policy fetch. |
| 242 optional string service_account_identity = 12; |
| 239 } | 243 } |
| 240 | 244 |
| 241 message PolicyFetchResponse { | 245 message PolicyFetchResponse { |
| 242 // Since a single policy request may ask for multiple policies, we | 246 // Since a single policy request may ask for multiple policies, we |
| 243 // provide separate error code for each individual policy fetch. | 247 // provide separate error code for each individual policy fetch. |
| 244 | 248 |
| 245 // We will use standard HTTP Status Code as error code. | 249 // We will use standard HTTP Status Code as error code. |
| 246 optional int32 error_code = 1; | 250 optional int32 error_code = 1; |
| 247 | 251 |
| 248 // Human readable error message for customer support purpose. | 252 // Human readable error message for customer support purpose. |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 | 560 |
| 557 // Auto-enrollment detection response. | 561 // Auto-enrollment detection response. |
| 558 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; | 562 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; |
| 559 | 563 |
| 560 // EMCert upload response. | 564 // EMCert upload response. |
| 561 optional DeviceCertUploadResponse cert_upload_response = 9; | 565 optional DeviceCertUploadResponse cert_upload_response = 9; |
| 562 | 566 |
| 563 // Response to OAuth2 authorization code request. | 567 // Response to OAuth2 authorization code request. |
| 564 optional DeviceServiceApiAccessResponse service_api_access_response = 10; | 568 optional DeviceServiceApiAccessResponse service_api_access_response = 10; |
| 565 } | 569 } |
| OLD | NEW |