aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-10-27 16:10:55 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-10-27 16:10:55 +0000
commit1bff57e589d5842e629f2f543b3fbe36675ceaad (patch)
tree93cbd86511686399397e610259ef29fecff7e569
parentminidump_stackwalk should use MinidumpProcessor (#64). r=bryner (diff)
downloadbreakpad-1bff57e589d5842e629f2f543b3fbe36675ceaad.tar.xz
Add set_dump_path method to ExceptionHandler (#37). Patch by Ted Mielczarek.
r=me http://groups.google.com/group/airbag-dev/browse_thread/thread/06167df948717f4d git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@55 4c0a9323-5329-0410-9bdc-e9ce6186880e
-rw-r--r--src/client/windows/handler/exception_handler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/windows/handler/exception_handler.h b/src/client/windows/handler/exception_handler.h
index 5f6f5231..71360dbc 100644
--- a/src/client/windows/handler/exception_handler.h
+++ b/src/client/windows/handler/exception_handler.h
@@ -87,6 +87,10 @@ class ExceptionHandler {
void *callback_context, bool install_handler);
~ExceptionHandler();
+ // Get and set the minidump path.
+ wstring dump_path() const { return dump_path_; }
+ void set_dump_path(const wstring &dump_path) { dump_path_ = dump_path; }
+
// Writes a minidump immediately. This can be used to capture the
// execution state independently of a crash. Returns true on success.
bool WriteMinidump();