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

Side by Side 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, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/user_manager/user.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 // with a location. 370 // with a location.
371 optional string annotated_location = 20; 371 optional string annotated_location = 20;
372 372
373 // The free-text asset identifier the admin enters to associate the device 373 // The free-text asset identifier the admin enters to associate the device
374 // with a user-generated identifier. 374 // with a user-generated identifier.
375 optional string annotated_asset_id = 21; 375 optional string annotated_asset_id = 21;
376 376
377 // The unique directory api ID of the device which was generated on the 377 // The unique directory api ID of the device which was generated on the
378 // server-side. 378 // server-side.
379 optional string directory_api_id = 22; 379 optional string directory_api_id = 22;
380
381 // List of device affiliation IDs. If exists overlap between user
382 // affiliation IDs and device affiliation IDs, we consider that the user is
383 // affiliated on the device. Otherwise the user is not affiliated on the
384 // device. Should be fetched with device policy. Ignored if fetched with
385 // other polices.
386 repeated string device_affiliation_ids = 23;
387
388 // List of user affiliation IDs. The list is used to define if current user
389 // is affiliated on the device. See device_affiliation_ids for details.
390 // Should be fetched with user policy. Ignored if fetched with other polices.
391 repeated string user_affiliation_ids = 24;
380 } 392 }
381 393
382 message PolicyFetchResponse { 394 message PolicyFetchResponse {
383 // Since a single policy request may ask for multiple policies, we 395 // Since a single policy request may ask for multiple policies, we
384 // provide separate error code for each individual policy fetch. 396 // provide separate error code for each individual policy fetch.
385 397
386 // We will use standard HTTP Status Code as error code. 398 // We will use standard HTTP Status Code as error code.
387 optional int32 error_code = 1; 399 optional int32 error_code = 1;
388 400
389 // Human readable error message for customer support purpose. 401 // Human readable error message for customer support purpose.
(...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 // Response to remote command request. 1168 // Response to remote command request.
1157 optional DeviceRemoteCommandResponse remote_command_response = 14; 1169 optional DeviceRemoteCommandResponse remote_command_response = 14;
1158 1170
1159 // Response to check device attribute update permission. 1171 // Response to check device attribute update permission.
1160 optional DeviceAttributeUpdatePermissionResponse 1172 optional DeviceAttributeUpdatePermissionResponse
1161 device_attribute_update_permission_response = 15; 1173 device_attribute_update_permission_response = 15;
1162 1174
1163 // Response to update device attribute. 1175 // Response to update device attribute.
1164 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; 1176 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16;
1165 } 1177 }
OLDNEW
« 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