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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 | 254 |
255 // [timestamp] is milliseconds since Epoch in UTC timezone. It is | 255 // [timestamp] is milliseconds since Epoch in UTC timezone. It is |
256 // included here so that the time at which the server issued this | 256 // included here so that the time at which the server issued this |
257 // response cannot be faked (as protection against replay attacks). | 257 // response cannot be faked (as protection against replay attacks). |
258 // It is the timestamp generated by DMServer, NOT the time admin | 258 // It is the timestamp generated by DMServer, NOT the time admin |
259 // last updated the policy or anything like that. | 259 // last updated the policy or anything like that. |
260 optional int64 timestamp = 2; | 260 optional int64 timestamp = 2; |
261 | 261 |
262 // The DM token that was used by the client in the HTTP POST header | 262 // The DM token that was used by the client in the HTTP POST header |
263 // for authenticating the request. It is included here again so that | 263 // for authenticating the request. It is included here again so that |
264 // the client can verify that the response is meant for him (and not | 264 // the client can verify that the response is meant for them (and not |
265 // issued by a replay or man-in-the-middle attack). | 265 // issued by a replay or man-in-the-middle attack). |
266 optional string request_token = 3; | 266 optional string request_token = 3; |
267 | 267 |
268 // The serialized value of the actual policy protobuf. This can be | 268 // The serialized value of the actual policy protobuf. This can be |
269 // deserialized to an instance of, for example, ChromeSettingsProto, | 269 // deserialized to an instance of, for example, ChromeSettingsProto, |
270 // ChromeDeviceSettingsProto, or ExternalPolicyData. | 270 // ChromeDeviceSettingsProto, or ExternalPolicyData. |
271 optional bytes policy_value = 4; | 271 optional bytes policy_value = 4; |
272 | 272 |
273 // The device display name assigned by the server. It is only | 273 // The device display name assigned by the server. It is only |
274 // filled if the display name is available. | 274 // filled if the display name is available. |
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1217 // Response to update device attribute. | 1217 // Response to update device attribute. |
1218 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; | 1218 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; |
1219 | 1219 |
1220 // Response to GCM id update request. | 1220 // Response to GCM id update request. |
1221 optional GcmIdUpdateResponse gcm_id_update_response = 17; | 1221 optional GcmIdUpdateResponse gcm_id_update_response = 17; |
1222 | 1222 |
1223 // Response to check Android management request. | 1223 // Response to check Android management request. |
1224 optional CheckAndroidManagementResponse | 1224 optional CheckAndroidManagementResponse |
1225 check_android_management_response = 18; | 1225 check_android_management_response = 18; |
1226 } | 1226 } |
OLD | NEW |