OLD | NEW |
---|---|
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 Loading... | |
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 | 380 |
381 // List of device affiliation IDs. If exists overlap between user | 381 // List of device affiliation IDs. If exists overlap between user |
382 // affiliation IDs and device affiliation IDs, we consider that the user is | 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 | 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 | 384 // device. Should be fetched with device policy. Ignored if fetched with |
385 // other polices. | 385 // other polices. |
386 repeated string device_affiliation_ids = 23; | 386 repeated string device_affiliation_ids = 23; |
387 | 387 |
388 // List of user affiliation IDs. The list is used to define if current user | 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. | 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. | 390 // Should be fetched with user policy. Ignored if fetched with other polices. |
391 repeated string user_affiliation_ids = 24; | 391 repeated string user_affiliation_ids = 24; |
392 } | 392 } |
393 | 393 |
394 message PolicyFetchResponse { | 394 message PolicyFetchResponse { |
395 // Since a single policy request may ask for multiple policies, we | 395 // Since a single policy request may ask for multiple policies, we |
396 // provide separate error code for each individual policy fetch. | 396 // provide separate error code for each individual policy fetch. |
397 | 397 |
398 // We will use standard HTTP Status Code as error code. | 398 // We will use standard HTTP Status Code as error code. |
399 optional int32 error_code = 1; | 399 optional int32 error_code = 1; |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
738 optional int64 deprecated_system_ram_free = 13 [deprecated = true]; | 738 optional int64 deprecated_system_ram_free = 13 [deprecated = true]; |
739 | 739 |
740 // Total RAM on the device. | 740 // Total RAM on the device. |
741 optional int64 system_ram_total = 14; | 741 optional int64 system_ram_total = 14; |
742 | 742 |
743 // Samples of free RAM [in bytes] (unreliable due to GC). | 743 // Samples of free RAM [in bytes] (unreliable due to GC). |
744 repeated int64 system_ram_free = 15; | 744 repeated int64 system_ram_free = 15; |
745 | 745 |
746 // CPU temp information. | 746 // CPU temp information. |
747 repeated CPUTempInfo cpu_temp_info = 16; | 747 repeated CPUTempInfo cpu_temp_info = 16; |
748 | |
749 // This field is set, only when an OS update is needed because of Kiosk | |
750 // app pinned OS version of an updated Kiosk app is different from the | |
751 // current OS version. | |
752 optional OsUpdateStatus os_update_status = 17; | |
753 | |
754 // Set only when there is a currently running Kiosk app. | |
755 // If no kiosk app is currently running, then this field is empty. | |
jinzhang1
2016/07/07 17:46:42
Let's change this comment to:
// Set only when the
xiyuan
2016/07/07 17:53:59
I updated with the following:
// Set only when t
jinzhang1
2016/07/07 17:59:31
LGTM. Did you forget to update the CL?
jinzhang1
2016/07/07 18:00:15
never mind. saw the new patch. lgtm.
| |
756 optional AppStatus running_kiosk_app = 18; | |
757 } | |
758 | |
759 message OsUpdateStatus { | |
760 enum UpdateStatus { | |
761 OS_UP_TO_DATE = 0; | |
762 OS_IMAGE_DOWNLOAD_NOT_STARTED = 1; | |
763 OS_IMAGE_DOWNLOAD_IN_PROGRESS = 2; | |
764 OS_UPDATE_NEED_REBOOT = 3; | |
765 } | |
766 | |
767 optional UpdateStatus update_status = 1; | |
768 optional string new_platform_version = 2; | |
769 | |
770 // New required platform version from the pending updated Kiosk app. | |
771 optional string new_required_platform_version = 3; | |
748 } | 772 } |
749 | 773 |
750 // Provides status information for an installed app/extension. | 774 // Provides status information for an installed app/extension. |
751 message AppStatus { | 775 message AppStatus { |
752 // ID of the installed app/extension | 776 // ID of the installed app/extension |
753 optional string app_id = 1; | 777 optional string app_id = 1; |
754 | 778 |
755 // Currently installed version of the app. | 779 // Currently installed version of the app. |
756 optional string extension_version = 2; | 780 optional string extension_version = 2; |
757 | 781 |
758 // Self-reported status summary (via chrome.reporting APIs) | 782 // Self-reported status summary (via chrome.reporting APIs) |
759 optional string status = 3; | 783 optional string status = 3; |
760 | 784 |
761 // If true, the application is currently in a self-reported error state. | 785 // If true, the application is currently in a self-reported error state. |
762 optional bool error = 4; | 786 optional bool error = 4; |
787 | |
788 // App required Chrome version, specified in app’s manifest file. | |
789 optional string required_platform_version = 5; | |
763 } | 790 } |
764 | 791 |
765 // Report session (a user on one device) level status. | 792 // Report session (a user on one device) level status. |
766 message SessionStatusReportRequest { | 793 message SessionStatusReportRequest { |
767 // Installed apps for this user on this device. | 794 // Installed apps for this user on this device. |
768 // No longer used -- use installed_apps instead. | 795 // No longer used -- use installed_apps instead. |
769 repeated string installed_app_id = 1 [deprecated = true]; | 796 repeated string installed_app_id = 1 [deprecated = true]; |
770 | 797 |
771 // Installed extensions for this user on this device. | 798 // Installed extensions for this user on this device. |
772 // No longer used -- use installed_extensions instead. | 799 // No longer used -- use installed_extensions instead. |
(...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1217 // Response to update device attribute. | 1244 // Response to update device attribute. |
1218 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; | 1245 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; |
1219 | 1246 |
1220 // Response to GCM id update request. | 1247 // Response to GCM id update request. |
1221 optional GcmIdUpdateResponse gcm_id_update_response = 17; | 1248 optional GcmIdUpdateResponse gcm_id_update_response = 17; |
1222 | 1249 |
1223 // Response to check Android management request. | 1250 // Response to check Android management request. |
1224 optional CheckAndroidManagementResponse | 1251 optional CheckAndroidManagementResponse |
1225 check_android_management_response = 18; | 1252 check_android_management_response = 18; |
1226 } | 1253 } |
OLD | NEW |