| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto2"; | |
| 6 | |
| 7 option optimize_for = LITE_RUNTIME; | |
| 8 | |
| 9 package enterprise_management; | |
| 10 | |
| 11 import "device_management_backend.proto"; | |
| 12 | |
| 13 // Wrapper around CloudPolicyResponse/DevicePolicyResponse for caching on disk. | |
| 14 message CachedCloudPolicyResponse { | |
| 15 // The DevicePolicyResponse wrapped by this message. | |
| 16 optional DevicePolicyResponse device_policy = 1; | |
| 17 // Timestamp noting when the |unmanaged| flag was set. The meaning is | |
| 18 // milliseconds since 1970. When caching (deprecated) DevicePolicyResponses, | |
| 19 // this timestamp also notes when the response was cached. | |
| 20 optional uint64 timestamp = 2; | |
| 21 // Flag that is set to true if this device is not managed. | |
| 22 optional bool unmanaged = 3; | |
| 23 // The PolicyFetchResponse wrapped by this message. | |
| 24 optional PolicyFetchResponse cloud_policy = 4; | |
| 25 } | |
| 26 | |
| 27 // Encapsulates a device ID and the associated device token. | |
| 28 message DeviceCredentials { | |
| 29 optional string device_id = 1; | |
| 30 optional string device_token = 2; | |
| 31 } | |
| OLD | NEW |