aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/handler/exception_handler.h
diff options
context:
space:
mode:
authorTing-Yu Chou <janus926@gmail.com>2016-06-29 06:44:24 -0400
committerTed Mielczarek <ted@mielczarek.org>2016-06-29 06:48:26 -0400
commitdfd2da797999be085d55ae9430f2a434788652e3 (patch)
tree072ac3586135342a415d117c51783a6114ea2615 /src/client/windows/handler/exception_handler.h
parenttravis: note misbehavior by coverity addon when throttled (diff)
downloadbreakpad-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.h6
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