Commit 581ea988 authored by Owen Min's avatar Owen Min Committed by Commit Bot

Add partial report flag for CBCM reporting

Add a new enum field PartialReportType for ChromeDesktopReportRequest
and ChromeOsUserReportRequest. It's used to indicate that the report
doesn't contain all information but only extension request.

It's the same change as cl 337368623.

Bug: 1137964
Change-Id: I15a0055437049df073476a9dd89198c503704e65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2481243Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
Commit-Queue: Owen Min <zmin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#818521}
parent 700f7802
...@@ -1896,6 +1896,12 @@ message OSReport { ...@@ -1896,6 +1896,12 @@ message OSReport {
optional string version = 3; optional string version = 3;
} }
// An enum shows which information a partial CBCM report contains.
enum PartialReportType {
UNSPECIFIED = 0;
EXTENSION_REQUEST = 1;
}
// Report the status of a Chrome installation on non-Chrome OS platform. // Report the status of a Chrome installation on non-Chrome OS platform.
message ChromeDesktopReportRequest { message ChromeDesktopReportRequest {
// The name of the machine within its local network. The string is a JSON // The name of the machine within its local network. The string is a JSON
...@@ -1926,6 +1932,10 @@ message ChromeDesktopReportRequest { ...@@ -1926,6 +1932,10 @@ message ChromeDesktopReportRequest {
// TODO(crbug.com/1105938): This will also replace the computer_name and // TODO(crbug.com/1105938): This will also replace the computer_name and
// serial_number fields. // serial_number fields.
optional BrowserDeviceIdentifier browser_device_identifier = 9; optional BrowserDeviceIdentifier browser_device_identifier = 9;
// A list of flags indicates that the report only contains particular
// information. When list is empty or unset, the report should contains all
// information.
repeated PartialReportType partial_report_types = 10;
} }
// Report user level status on Chrome OS platform. Chrome OS equivalent of // Report user level status on Chrome OS platform. Chrome OS equivalent of
...@@ -1935,6 +1945,10 @@ message ChromeOsUserReportRequest { ...@@ -1935,6 +1945,10 @@ message ChromeOsUserReportRequest {
optional BrowserReport browser_report = 1; optional BrowserReport browser_report = 1;
// Android applications installed in primary profile. // Android applications installed in primary profile.
repeated AndroidAppInfo android_app_infos = 2; repeated AndroidAppInfo android_app_infos = 2;
// A list of flags indicates that the report only contains particular
// information. When list is empty or unset, the report should contains all
// information.
repeated PartialReportType partial_report_types = 3;
} }
// A validation issue from validating a policy value that was contained in // A validation issue from validating a policy value that was contained in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment