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

Unified Diff: components/policy/proto/device_management_backend.proto

Issue 1266563002: Added affiliation IDs for the new affiliation determination. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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 | « chrome/chrome_tests_unit.gypi ('k') | components/user_manager/user.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/proto/device_management_backend.proto
diff --git a/components/policy/proto/device_management_backend.proto b/components/policy/proto/device_management_backend.proto
index d196a4c015718ed46fd8adb57e5709bd2ecc31b8..42705064540097259b55b06796e519f9be8c4d46 100644
--- a/components/policy/proto/device_management_backend.proto
+++ b/components/policy/proto/device_management_backend.proto
@@ -377,6 +377,18 @@ message PolicyData {
// The unique directory api ID of the device which was generated on the
// server-side.
optional string directory_api_id = 22;
+
+ // List of device affiliation IDs. If exists overlap between user
+ // affiliation IDs and device affiliation IDs, we consider that the user is
+ // affiliated on the device. Otherwise the user is not affiliated on the
+ // device. Should be fetched with device policy. Ignored if fetched with
+ // other polices.
+ repeated string device_affiliation_ids = 23;
+
+ // List of user affiliation IDs. The list is used to define if current user
+ // is affiliated on the device. See device_affiliation_ids for details.
+ // Should be fetched with user policy. Ignored if fetched with other polices.
+ repeated string user_affiliation_ids = 24;
}
message PolicyFetchResponse {
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/user_manager/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698