diff options
Diffstat (limited to 'src/client/linux/handler')
-rw-r--r-- | src/client/linux/handler/exception_handler.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/linux/handler/exception_handler.h b/src/client/linux/handler/exception_handler.h index e906e7a7..1de38616 100644 --- a/src/client/linux/handler/exception_handler.h +++ b/src/client/linux/handler/exception_handler.h @@ -146,6 +146,10 @@ class ExceptionHandler { crash_handler_ = callback; } + void set_crash_generation_client(CrashGenerationClient* client) { + crash_generation_client_.reset(client); + } + // Writes a minidump immediately. This can be used to capture the execution // state independently of a crash. // Returns true on success. @@ -200,7 +204,7 @@ class ExceptionHandler { // Returns whether out-of-process dump generation is used or not. bool IsOutOfProcess() const { - return crash_generation_client_.get() != NULL; + return crash_generation_client_.get() != NULL; } // Add information about a memory mapping. This can be used if |