| 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 // Self-reported status summary (via chrome.reporting APIs) | 740 // Self-reported status summary (via chrome.reporting APIs) |
| 741 optional string status = 3; | 741 optional string status = 3; |
| 742 | 742 |
| 743 // If true, the application is currently in a self-reported error state. | 743 // If true, the application is currently in a self-reported error state. |
| 744 optional bool error = 4; | 744 optional bool error = 4; |
| 745 | 745 |
| 746 // App required Chrome version, specified in app’s manifest file. | 746 // App required Chrome version, specified in app’s manifest file. |
| 747 optional string required_platform_version = 5; | 747 optional string required_platform_version = 5; |
| 748 } | 748 } |
| 749 | 749 |
| 750 message AndroidStatus { |
| 751 // JSON string of ARC status report. |
| 752 optional string status_payload = 1; |
| 753 // DroidGuard response obtained from DroidGuard server. |
| 754 optional string droid_guard_info = 2; |
| 755 } |
| 756 |
| 750 // Report current active session (a user on one device) level status. | 757 // Report current active session (a user on one device) level status. |
| 751 message SessionStatusReportRequest { | 758 message SessionStatusReportRequest { |
| 752 // Installed apps for this user on this device. | 759 // Installed apps for this user on this device. |
| 753 // No longer used -- use installed_apps instead. | 760 // No longer used -- use installed_apps instead. |
| 754 repeated string installed_app_id = 1 [deprecated = true]; | 761 repeated string installed_app_id = 1 [deprecated = true]; |
| 755 | 762 |
| 756 // Installed extensions for this user on this device. | 763 // Installed extensions for this user on this device. |
| 757 // No longer used -- use installed_extensions instead. | 764 // No longer used -- use installed_extensions instead. |
| 758 repeated string installed_extension_id = 2 [deprecated = true]; | 765 repeated string installed_extension_id = 2 [deprecated = true]; |
| 759 | 766 |
| 760 // One stat per app for top 30 apps. | 767 // One stat per app for top 30 apps. |
| 761 repeated InstallableLaunch app_launch_stat = 3; | 768 repeated InstallableLaunch app_launch_stat = 3; |
| 762 | 769 |
| 763 // If this is a kiosk session, this is the device local account ID. | 770 // If this is a kiosk session, this is the device local account ID. |
| 764 optional string device_local_account_id = 4; | 771 optional string device_local_account_id = 4; |
| 765 | 772 |
| 766 // Information about installed apps for this user on this device. | 773 // Information about installed apps for this user on this device. |
| 767 repeated AppStatus installed_apps = 5; | 774 repeated AppStatus installed_apps = 5; |
| 768 | 775 |
| 769 // Information about installed extensions for this user on this device. | 776 // Information about installed extensions for this user on this device. |
| 770 repeated AppStatus installed_extensions = 6; | 777 repeated AppStatus installed_extensions = 6; |
| 778 |
| 779 // Information about ARC status. |
| 780 optional AndroidStatus android_status = 7; |
| 771 } | 781 } |
| 772 | 782 |
| 773 // Response from DMServer to update devices' status. | 783 // Response from DMServer to update devices' status. |
| 774 // It is possible that status report fails but policy request succeed. In such | 784 // It is possible that status report fails but policy request succeed. In such |
| 775 // case, the DeviceStatusReportResponse will contain an error code and the | 785 // case, the DeviceStatusReportResponse will contain an error code and the |
| 776 // device should re-send status report data in the next policy request. The | 786 // device should re-send status report data in the next policy request. The |
| 777 // device should re-send report data if policy request fails, even if | 787 // device should re-send report data if policy request fails, even if |
| 778 // DeviceStatusReportResponse contains no error code. | 788 // DeviceStatusReportResponse contains no error code. |
| 779 message DeviceStatusReportResponse { | 789 message DeviceStatusReportResponse { |
| 780 optional int32 error_code = 1; | 790 optional int32 error_code = 1; |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1310 // Response to update device attribute. | 1320 // Response to update device attribute. |
| 1311 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; | 1321 optional DeviceAttributeUpdateResponse device_attribute_update_response = 16; |
| 1312 | 1322 |
| 1313 // Response to GCM id update request. | 1323 // Response to GCM id update request. |
| 1314 optional GcmIdUpdateResponse gcm_id_update_response = 17; | 1324 optional GcmIdUpdateResponse gcm_id_update_response = 17; |
| 1315 | 1325 |
| 1316 // Response to check Android management request. | 1326 // Response to check Android management request. |
| 1317 optional CheckAndroidManagementResponse | 1327 optional CheckAndroidManagementResponse |
| 1318 check_android_management_response = 18; | 1328 check_android_management_response = 18; |
| 1319 } | 1329 } |
| OLD | NEW |