Chromium Code Reviews| 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 bbdc25ee30a9c4c00f12dbefef543d6c0cfdd878..5d74513ebea8b48e6bca014e9b7589c5ce1c5884 100644 |
| --- a/components/policy/proto/device_management_backend.proto |
| +++ b/components/policy/proto/device_management_backend.proto |
| @@ -377,16 +377,16 @@ 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 |
| + // 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. |
| + // 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; |
| } |
| @@ -745,6 +745,30 @@ message DeviceStatusReportRequest { |
| // CPU temp information. |
| repeated CPUTempInfo cpu_temp_info = 16; |
| + |
| + // This field is set, only when an OS update is needed because of Kiosk |
|
Thiemo Nagel
2016/07/10 08:47:47
Nit: drop comma
xiyuan
2016/07/11 16:29:17
Done.
|
| + // app pinned OS version of an updated Kiosk app is different from the |
| + // current OS version. |
| + optional OsUpdateStatus os_update_status = 17; |
| + |
| + // Set only when there is an auto launched with zero delay kiosk app |
| + // and it is currently running. Otherwise, this field is empty. |
| + optional AppStatus running_kiosk_app = 18; |
| +} |
| + |
| +message OsUpdateStatus { |
| + enum UpdateStatus { |
| + OS_UP_TO_DATE = 0; |
| + OS_IMAGE_DOWNLOAD_NOT_STARTED = 1; |
| + OS_IMAGE_DOWNLOAD_IN_PROGRESS = 2; |
| + OS_UPDATE_NEED_REBOOT = 3; |
| + } |
| + |
| + optional UpdateStatus update_status = 1; |
| + optional string new_platform_version = 2; |
|
Thiemo Nagel
2016/07/10 08:47:47
Please document this entry.
xiyuan
2016/07/11 16:29:17
Done.
|
| + |
| + // New required platform version from the pending updated Kiosk app. |
| + optional string new_required_platform_version = 3; |
| } |
| // Provides status information for an installed app/extension. |
| @@ -760,6 +784,9 @@ message AppStatus { |
| // If true, the application is currently in a self-reported error state. |
| optional bool error = 4; |
| + |
| + // App required Chrome version, specified in app’s manifest file. |
| + optional string required_platform_version = 5; |
| } |
| // Report session (a user on one device) level status. |