| 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 19 matching lines...) Expand all Loading... |
| 30 optional Type type = 2 [default = TT]; | 30 optional Type type = 2 [default = TT]; |
| 31 | 31 |
| 32 // Machine hardware id, such as serial number. | 32 // Machine hardware id, such as serial number. |
| 33 // This field is required if register type == DEVICE. | 33 // This field is required if register type == DEVICE. |
| 34 optional string machine_id = 3; | 34 optional string machine_id = 3; |
| 35 | 35 |
| 36 // Machine model name, such as "ZGA", "Cr-48", "Nexus One". If the | 36 // Machine model name, such as "ZGA", "Cr-48", "Nexus One". If the |
| 37 // model name is not available, client SHOULD send generic name like | 37 // model name is not available, client SHOULD send generic name like |
| 38 // "Android", or "Chrome OS". | 38 // "Android", or "Chrome OS". |
| 39 optional string machine_model = 4; | 39 optional string machine_model = 4; |
| 40 |
| 41 // When true, indicates that the |machine_id| field should be known to the |
| 42 // server. The server can do additional checks based on this information. |
| 43 // This is currently used for requests triggered by auto-enrollment. |
| 44 // Defaults to false when not present. |
| 45 optional bool known_machine_id = 5; |
| 40 } | 46 } |
| 41 | 47 |
| 42 // Response from server to device register request. | 48 // Response from server to device register request. |
| 43 message DeviceRegisterResponse { | 49 message DeviceRegisterResponse { |
| 44 // Device management token for this registration. This token MUST be | 50 // Device management token for this registration. This token MUST be |
| 45 // part of HTTP Authorization header for all future requests from | 51 // part of HTTP Authorization header for all future requests from |
| 46 // device to server. | 52 // device to server. |
| 47 required string device_management_token = 1; | 53 required string device_management_token = 1; |
| 48 | 54 |
| 49 // Device display name. By default, server generates the name in | 55 // Device display name. By default, server generates the name in |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 | 422 |
| 417 // Device status report response. | 423 // Device status report response. |
| 418 optional DeviceStatusReportResponse device_status_report_response = 6; | 424 optional DeviceStatusReportResponse device_status_report_response = 6; |
| 419 | 425 |
| 420 // Session status report response. | 426 // Session status report response. |
| 421 optional SessionStatusReportResponse session_status_report_response = 7; | 427 optional SessionStatusReportResponse session_status_report_response = 7; |
| 422 | 428 |
| 423 // Auto-enrollment detection response. | 429 // Auto-enrollment detection response. |
| 424 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; | 430 optional DeviceAutoEnrollmentResponse auto_enrollment_response = 8; |
| 425 } | 431 } |
| OLD | NEW |