summaryrefslogtreecommitdiffstats
path: root/chrome/browser/policy/proto/device_management_local.proto
blob: ad7fc05a0ec1c8034ba98c7f2297f33cc712a63c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;

package enterprise_management;

import "device_management_backend.proto";

// Wrapper around DevicePolicyResponse for caching on disk.
message CachedDevicePolicyResponse {
  // The DevicePolicyResponse wrapped by this message.
  required DevicePolicyResponse policy = 1;
  // Timestamp noting when this policy was cached.
  optional uint64 timestamp = 2;
}

// Encapsulates a device ID and the associated device token.
message DeviceCredentials {
  optional string device_id = 1;
  optional string device_token = 2;
}