crash-reporter: Attach Chrome logs to crash reports.
When Chrome crashes, gather the last 20 lines of each of the
latest two log files in /var/log/chrome and
/home/chronos/user/log and include them in the archive file
that's attached to crash reports.
TEST=triggered crashes at the login screen and after logging
in and verified that logs were included in crash
reports: bdf766f0d6d1e066, a9d410e1a86f996b
Reviewed-by: Ben Chan <email@example.com>
Tested-by: Daniel Erat <firstname.lastname@example.org>
Commit-Queue: Daniel Erat <email@example.com>
3 files changed