diff options
author | Ting-Yu Chou <janus926@gmail.com> | 2016-06-29 06:44:24 -0400 |
---|---|---|
committer | Ted Mielczarek <ted@mielczarek.org> | 2016-06-29 06:48:26 -0400 |
commit | dfd2da797999be085d55ae9430f2a434788652e3 (patch) | |
tree | 072ac3586135342a415d117c51783a6114ea2615 /src/client/windows/handler/exception_handler.h | |
parent | travis: note misbehavior by coverity addon when throttled (diff) | |
download | breakpad-dfd2da797999be085d55ae9430f2a434788652e3.tar.xz |
Add a new argument to specify the minidump type to write on Windows.
R=ted.mielczarek@gmail.com
BUG=https://bugzilla.mozilla.org/show_bug.cgi?id=1267329
Review URL: https://codereview.chromium.org/2107083002/ .
Diffstat (limited to 'src/client/windows/handler/exception_handler.h')
-rw-r--r-- | src/client/windows/handler/exception_handler.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/windows/handler/exception_handler.h b/src/client/windows/handler/exception_handler.h index e3cd8146..11babe51 100644 --- a/src/client/windows/handler/exception_handler.h +++ b/src/client/windows/handler/exception_handler.h @@ -238,7 +238,8 @@ class ExceptionHandler { // Convenience form of WriteMinidump which does not require an // ExceptionHandler instance. static bool WriteMinidump(const wstring &dump_path, - MinidumpCallback callback, void* callback_context); + MinidumpCallback callback, void* callback_context, + MINIDUMP_TYPE dump_type = MiniDumpNormal); // Write a minidump of |child| immediately. This can be used to // capture the execution state of |child| independently of a crash. @@ -249,7 +250,8 @@ class ExceptionHandler { DWORD child_blamed_thread, const wstring& dump_path, MinidumpCallback callback, - void* callback_context); + void* callback_context, + MINIDUMP_TYPE dump_type = MiniDumpNormal); // Get the thread ID of the thread requesting the dump (either the exception // thread or any other thread that called WriteMinidump directly). This |