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
This commit is contained in:
mmentovai 2006-10-27 16:10:55 +00:00
parent 6b9955cc42
commit 1bff57e589

View file

@ -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();