mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 00:15:37 +00:00
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:
parent
6b9955cc42
commit
1bff57e589
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue