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

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

Issue 692093005: Crash component: adds API for clients to handle the crash minidump. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: context warning doc Created 6 years, 1 month 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 | components/crash/app/crash_reporter_client.h » ('j') | 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 4fe127b940a617a95938be4f4dde462ec9484bf7..6c862200657be6299cce11f223dde53e0391fde7 100644
--- a/components/crash/app/breakpad_linux.cc
+++ b/components/crash/app/breakpad_linux.cc
@@ -1191,6 +1191,10 @@ void HandleCrashDump(const BreakpadInfo& info) {
google_breakpad::PageAllocator allocator;
const char* exe_buf = NULL;
+ if (GetCrashReporterClient()->HandleCrashDump(info.filename)) {
+ return;
+ }
+
#if defined(OS_CHROMEOS)
// Grab the crashing process' name now, when it should still be available.
// If we try to do this later in our grandchild the crashing process has
« no previous file with comments | « no previous file | components/crash/app/crash_reporter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698