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

Unified Diff: chrome/browser/policy/proto/device_management_local.proto

Issue 6409040: New policy protobuf protocol. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ready for review! Created 9 years, 11 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/proto/device_management_local.proto
diff --git a/chrome/browser/policy/proto/device_management_local.proto b/chrome/browser/policy/proto/device_management_local.proto
index a991551dfc0e26e79c6920572ee045c2fe0656f1..2f19b0d68bc9ac43ca77ffd48340fdac36869b57 100644
--- a/chrome/browser/policy/proto/device_management_local.proto
+++ b/chrome/browser/policy/proto/device_management_local.proto
@@ -20,6 +20,16 @@ message CachedDevicePolicyResponse {
optional bool unmanaged = 3;
}
+// Wrapper around CloudPolicyResponse for caching on disk.
+message CachedCloudPolicyResponse {
+ // The CloudPolicyResponse wrapped by this message.
+ optional CloudPolicyResponse policy_response = 1;
+ // Flag that is set to true if this device or user is not managed.
+ optional bool unmanaged = 2;
+ // Timestamp noting when 'unmanaged' information was stored.
+ optional uint64 timestamp = 3;
Mattias Nissler (ping if slow) 2011/02/02 12:27:55 See other comment about single cache.
Jakob Kummerow 2011/02/03 14:36:52 Done.
+}
+
// Encapsulates a device ID and the associated device token.
message DeviceCredentials {
optional string device_id = 1;

Powered by Google App Engine
This is Rietveld 408576698