Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: components/crash/app/breakpad_linux.cc

Issue 583873003: Breakpad Linux: Add some debug logging for crash id generation failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/breakpad_linux.cc
diff --git a/components/crash/app/breakpad_linux.cc b/components/crash/app/breakpad_linux.cc
index e9e01f9a305d7ee8169ffae26a5c87ef09c3c2e0..f1c7bc0f048dc775540a5db2f33a331685ba3e81 100644
--- a/components/crash/app/breakpad_linux.cc
+++ b/components/crash/app/breakpad_linux.cc
@@ -1088,6 +1088,11 @@ void HandleCrashReportId(const char* buf, size_t bytes_read,
#endif
WriteLog(msg, sizeof(msg) - 1);
WriteNewline();
+
+ static const char id_msg[] = "Report Id: ";
+ WriteLog(id_msg, sizeof(id_msg) - 1);
+ WriteLog(buf, bytes_read);
+ WriteNewline();
return;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698