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

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

Issue 7200010: Introduce a state flag within the signed policy response. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/proto/device_management_backend.proto
diff --git a/chrome/browser/policy/proto/device_management_backend.proto b/chrome/browser/policy/proto/device_management_backend.proto
index c82f0061fd0d83fcab077c07f7498d3d8c81e389..b3939b43271914d5d63300cac252f2a148b1db15 100644
--- a/chrome/browser/policy/proto/device_management_backend.proto
+++ b/chrome/browser/policy/proto/device_management_backend.proto
@@ -161,6 +161,17 @@ message PolicyData {
// In this field the DMServer should echo back the "deviceid" HTTP parameter
// from the request.
optional string device_id = 8;
+
+ // Indicates which state this association with DMServer is in. This can be
+ // used to tell the client that it is not receiving policy even though the
+ // registration with the server is kept active.
+ enum AssociationState {
+ // Association is active and policy is pushed.
+ ACTIVE = 0;
+ // Association is alive, but the corresponding domain is not managed.
+ UNMANAGED = 1;
+ }
+ optional AssociationState state = 9 [default = ACTIVE];
}
message PolicyFetchResponse {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698