| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 222   optional string device_id = 8; | 222   optional string device_id = 8; | 
| 223 | 223 | 
| 224   // Indicates which state this association with DMServer is in. This can be | 224   // Indicates which state this association with DMServer is in. This can be | 
| 225   // used to tell the client that it is not receiving policy even though the | 225   // used to tell the client that it is not receiving policy even though the | 
| 226   // registration with the server is kept active. | 226   // registration with the server is kept active. | 
| 227   enum AssociationState { | 227   enum AssociationState { | 
| 228     // Association is active and policy is pushed. | 228     // Association is active and policy is pushed. | 
| 229     ACTIVE = 0; | 229     ACTIVE = 0; | 
| 230     // Association is alive, but the corresponding domain is not managed. | 230     // Association is alive, but the corresponding domain is not managed. | 
| 231     UNMANAGED = 1; | 231     UNMANAGED = 1; | 
|  | 232     // Client got dropped on the server side. | 
|  | 233     DEPROVISIONED = 2; | 
| 232   } | 234   } | 
| 233   optional AssociationState state = 9 [default = ACTIVE]; | 235   optional AssociationState state = 9 [default = ACTIVE]; | 
| 234 | 236 | 
| 235   // Indicates if the the server cannot find a valid serial number for the | 237   // Indicates if the the server cannot find a valid serial number for the | 
| 236   // device.  If this flag is set, the device should send the valid serial | 238   // device.  If this flag is set, the device should send the valid serial | 
| 237   // number with a device policy fetch request.  Note that this only | 239   // number with a device policy fetch request.  Note that this only | 
| 238   // applies to device policy. | 240   // applies to device policy. | 
| 239   optional bool valid_serial_number_missing = 10; | 241   optional bool valid_serial_number_missing = 10; | 
| 240 | 242 | 
| 241   // Indicates which public account or extension/plug-in this policy data is | 243   // Indicates which public account or extension/plug-in this policy data is | 
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 619 | 621 | 
| 620   // Auto-enrollment detection response. | 622   // Auto-enrollment detection response. | 
| 621   optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; | 623   optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; | 
| 622 | 624 | 
| 623   // EMCert upload response. | 625   // EMCert upload response. | 
| 624   optional DeviceCertUploadResponse cert_upload_response = 9; | 626   optional DeviceCertUploadResponse cert_upload_response = 9; | 
| 625 | 627 | 
| 626   // Response to OAuth2 authorization code request. | 628   // Response to OAuth2 authorization code request. | 
| 627   optional DeviceServiceApiAccessResponse service_api_access_response = 10; | 629   optional DeviceServiceApiAccessResponse service_api_access_response = 10; | 
| 628 } | 630 } | 
| OLD | NEW | 
|---|