Chromium Code Reviews| 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 | |
|
Thiemo Nagel
2016/07/12 14:08:46
nit: s/Kiosk/kiosk/
xiyuan
2016/07/12 15:17:04
Revised.
"Kiosk app pinned OS version" -> "the re
| |
| 750 // app pinned OS version of an updated Kiosk app is different from the | |
|
Thiemo Nagel
2016/07/12 14:08:46
nit: s/Kiosk/kiosk/
xiyuan
2016/07/12 15:17:04
Done.
| |
| 751 // current OS version. | |
| 752 optional OsUpdateStatus os_update_status = 17; | |
| 753 | |
| 754 // Set only when there is an auto launched with zero delay kiosk app | |
| 755 // and it is currently running. Otherwise, this field is empty. | |
| 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 | |
| 769 // New platform version of the os image being downloaded and applied. It | |
| 770 // is only set when update status is OS_IMAGE_DOWNLOAD_IN_PROGRESS or | |
| 771 // OS_UPDATE_NEED_REBOOT. Note this could be a dummy "0.0.0.0" for | |
| 772 // OS_UPDATE_NEED_REBOOT status for some edge cases, e.g. update engine is | |
| 773 // restarted without a reboot. | |
| 774 optional string new_platform_version = 2; | |
| 775 | |
| 776 // New required platform version from the pending updated kiosk app. | |
| 777 optional string new_required_platform_version = 3; | |
| 748 } | 778 } |
| 749 | 779 |
| 750 // Provides status information for an installed app/extension. | 780 // Provides status information for an installed app/extension. |
| 751 message AppStatus { | 781 message AppStatus { |
| 752 // ID of the installed app/extension | 782 // ID of the installed app/extension |
| 753 optional string app_id = 1; | 783 optional string app_id = 1; |
| 754 | 784 |
| 755 // Currently installed version of the app. | 785 // Currently installed version of the app. |
| 756 optional string extension_version = 2; | 786 optional string extension_version = 2; |
| 757 | 787 |
| 758 // Self-reported status summary (via chrome.reporting APIs) | 788 // Self-reported status summary (via chrome.reporting APIs) |
| 759 optional string status = 3; | 789 optional string status = 3; |
| 760 | 790 |
| 761 // If true, the application is currently in a self-reported error state. | 791 // If true, the application is currently in a self-reported error state. |
| 762 optional bool error = 4; | 792 optional bool error = 4; |
| 793 | |
| 794 // App required Chrome version, specified in app’s manifest file. | |
| 795 optional string required_platform_version = 5; | |
| 763 } | 796 } |
| 764 | 797 |
| 765 // Report session (a user on one device) level status. | 798 // Report session (a user on one device) level status. |
| 766 message SessionStatusReportRequest { | 799 message SessionStatusReportRequest { |
| 767 // Installed apps for this user on this device. | 800 // Installed apps for this user on this device. |
| 768 // No longer used -- use installed_apps instead. | 801 // No longer used -- use installed_apps instead. |
| 769 repeated string installed_app_id = 1 [deprecated = true]; | 802 repeated string installed_app_id = 1 [deprecated = true]; |
| 770 | 803 |
| 771 // Installed extensions for this user on this device. | 804 // Installed extensions for this user on this device. |
| 772 // No longer used -- use installed_extensions instead. | 805 // 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. | 1250 // Response to update device attribute. |
| 1218 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; | 1251 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; |
| 1219 | 1252 |
| 1220 // Response to GCM id update request. | 1253 // Response to GCM id update request. |
| 1221 optional GcmIdUpdateResponse gcm_id_update_response = 17; | 1254 optional GcmIdUpdateResponse gcm_id_update_response = 17; |
| 1222 | 1255 |
| 1223 // Response to check Android management request. | 1256 // Response to check Android management request. |
| 1224 optional CheckAndroidManagementResponse | 1257 optional CheckAndroidManagementResponse |
| 1225 check_android_management_response = 18; | 1258 check_android_management_response = 18; |
| 1226 } | 1259 } |
| OLD | NEW |