Display both capture and upload times in chrome://crashes.
Originally chrome://crashes only displayed uploaded crashes, and only
displayed the time at which the crash report was uploaded.
On systems using Crashpad we also have access to the crash capture-time
which is useful in identifying crash reports which occurred while
offline, for example, such that the capture and upload times would
differ considerably.
This patch was originally drafted by [email protected] and
[email protected].
BUG=664430,674249
Review-Url: https://codereview.chromium.org/2612993003
Cr-Commit-Position: refs/heads/master@{#442091}
diff --git a/components/crash_strings.grdp b/components/crash_strings.grdp
index c38d775..4e1d6c5 100644
--- a/components/crash_strings.grdp
+++ b/components/crash_strings.grdp
@@ -13,8 +13,11 @@
<message name="IDS_CRASH_CRASH_HEADER_FORMAT_LOCAL_ONLY" desc="Format for crash entry headings on chrome://crashes that have not been uploaded">
Crash ID <ph name="CRASH_LOCAL_ID">$1<ex>123456-789789</ex></ph>
</message>
- <message name="IDS_CRASH_CRASH_TIME_FORMAT" desc="Format for crash entry occurrence time on chrome://crashes">
- Automatically reported <ph name="CRASH_TIME">$1<ex>Tuesday, January 25, 2011 2:58:02 PM</ex></ph>
+ <message name="IDS_CRASH_UPLOAD_TIME_FORMAT" desc="Format for crash entry upload time on chrome://crashes">
+ Crash reported on <ph name="UPLOAD_TIME">$1<ex>Tuesday, January 25, 2011 2:58:02 PM</ex></ph>
+ </message>
+ <message name="IDS_CRASH_CAPTURE_AND_UPLOAD_TIME_FORMAT" desc="Format for crash capture time, and its upload time, on chrome://crashes">
+ Crash report captured on <ph name="CRASH_TIME">$1<ex>Tuesday, January 25, 2011 2:58:02 PM</ex></ph>, reported on <ph name="UPLOAD_TIME">$2<ex>Tuesday, January 25, 2011 2:58:02 PM</ex></ph>
</message>
<message name="IDS_CRASH_CRASH_NOT_UPLOADED" desc="Format for crash entry occurrence on chrome://crashes that was not uploaded to the server">
Crash report captured on <ph name="CRASH_TIME">$1<ex>Tuesday, January 25, 2011 2:58:02 PM</ex></ph> was not uploaded