Commit a683f6fe authored by Anqing Zhao's avatar Anqing Zhao Committed by Commit Bot

Add proto definition for crash report

The DeviceStatusReportRequest need be extended to include additional
information about crash reports.

Bug: 1040078
Change-Id: Id02c768805e23477a8ee7f05c15acd790855f723
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1991483
Commit-Queue: Anqing Zhao <anqing@google.com>
Reviewed-by: default avatarSergey Poromov <poromov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#733938}
parent 0195b499
......@@ -1030,6 +1030,19 @@ message GraphicsStatus {
repeated DisplayInfo displays = 2;
}
// Status of a crash report.
message CrashReportInfo {
// ID as provided by chrome://crashes.
optional string remote_id = 1;
// The timestamp when the crash is captured.
// [timestamp] is milliseconds since Epoch in UTC timezone (Java time).
optional int64 capture_timestamp = 2;
// Human readable string that identifies what caused the crash.
optional string cause = 3;
}
// Report device level status.
message DeviceStatusReportRequest {
reserved 4, 7, 13, 20;
......@@ -1127,6 +1140,9 @@ message DeviceStatusReportRequest {
// Status of the graphics adapter(s) and display(s).
optional GraphicsStatus graphics_status = 33;
// Information about the crash report(s) generated from the local device.
repeated CrashReportInfo crash_report_infos = 34;
}
message OsUpdateStatus {
......
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