| 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..3a580b7214e530ccac00f7857def4b64aa1a3cc6 100644
|
| --- a/components/crash/app/crash_reporter_client.h
|
| +++ b/components/crash/app/crash_reporter_client.h
|
| @@ -103,6 +103,13 @@ 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.
|
| + // WARNING: this handler runs in a compromised context. It may not call into
|
| + // libc nor allocate memory normally.
|
| + virtual bool HandleCrashDump(const char* crashdump_filename);
|
| #endif
|
|
|
| // The location where minidump files should be written. Returns true if
|
|
|