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

Unified Diff: components/crash/app/crash_reporter_client.h

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: Created 6 years, 2 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 | « components/crash/app/breakpad_linux.cc ('k') | components/crash/app/crash_reporter_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/crash/app/crash_reporter_client.h
diff --git a/components/crash/app/crash_reporter_client.h b/components/crash/app/crash_reporter_client.h
index 4032bd199d790a54047b1e80156becb91e216870..43f05e884d77611cd5fb4ba3ad42961baaf40c1b 100644
--- a/components/crash/app/crash_reporter_client.h
+++ b/components/crash/app/crash_reporter_client.h
@@ -103,6 +103,11 @@ class CrashReporterClient {
const char** version);
virtual base::FilePath GetReporterLogFilename();
+
+ // Custom crash minidump handler after the minidump is generated.
+ // Returns true if the minidump is handled (client); otherwise, return false
+ // to fallback to default handler.
+ virtual bool HandleCrashDump(const char* crashdump_filename);
Robert Sesek 2014/11/03 22:08:58 This should be a base::FilePath.
gunsch 2014/11/03 22:11:41 Hmm, I thought the crash code went to pretty great
Robert Sesek 2014/11/03 22:19:02 In the crashed context that's definitely true. Is
gunsch 2014/11/03 23:40:15 The code path I'm invoking this from in breakpad_l
Robert Sesek 2014/11/05 18:37:23 It depends on the crash type. A renderer crash is
#endif
// The location where minidump files should be written. Returns true if
« no previous file with comments | « components/crash/app/breakpad_linux.cc ('k') | components/crash/app/crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698