Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Side by Side Diff: chrome/browser/policy/proto/device_management_local.proto

Issue 4949003: CrOS policies: Store device ID with device token (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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
11 import "device_management_backend.proto"; 11 import "device_management_backend.proto";
12 12
13 // Wrapper around DevicePolicyResponse for caching on disk. 13 // Wrapper around DevicePolicyResponse for caching on disk.
14 message CachedDevicePolicyResponse { 14 message CachedDevicePolicyResponse {
15 // The DevicePolicyResponse wrapped by this message. 15 // The DevicePolicyResponse wrapped by this message.
16 required DevicePolicyResponse policy = 1; 16 required DevicePolicyResponse policy = 1;
17 // Timestamp noting when this policy was cached. 17 // Timestamp noting when this policy was cached.
18 optional uint64 timestamp = 2; 18 optional uint64 timestamp = 2;
19 } 19 }
20 20
21 // Encapsulates a device token and the associated device ID.
Mattias Nissler (ping if slow) 2010/11/15 18:02:51 The comment suggests you generate a device ID for
Jakob Kummerow (corp) 2010/11/16 09:37:02 Done.
22 message DeviceToken {
Mattias Nissler (ping if slow) 2010/11/15 18:02:51 Same for the message name here. Can we make it som
Jakob Kummerow (corp) 2010/11/16 09:37:02 Done.
23 required string device_token = 1;
24 required string device_id = 2;
Mattias Nissler (ping if slow) 2010/11/15 18:02:51 Can we make these optional?
Jakob Kummerow (corp) 2010/11/16 09:37:02 Done.
25 }
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698