summaryrefslogtreecommitdiff
path: root/include/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-11 10:04:48 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-05-19 00:23:43 +0000
commit2dcd1ae04c599025267f74edc298707ef6f94c0d (patch)
tree5fab6278ba0c6edfbf7314768067bf2db0c2257d /include/desktop
parent389d8db4d90d427f886d06c3f7304ad973f0d39c (diff)
update the location for breakpad as soon as we have access to profile
Change-Id: I33b29c06fdc9ec9b6d4c7d5f1b6db6024f39e92e Reviewed-on: https://gerrit.libreoffice.org/24027 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'include/desktop')
-rw-r--r--include/desktop/crashreport.hxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/desktop/crashreport.hxx b/include/desktop/crashreport.hxx
index 05b1fd81a835..e58e387d0122 100644
--- a/include/desktop/crashreport.hxx
+++ b/include/desktop/crashreport.hxx
@@ -20,6 +20,11 @@
#include <map>
#include <string>
+namespace google_breakpad
+{
+class ExceptionHandler;
+}
+
/**
* Provides access to the crash reporter service.
*
@@ -42,9 +47,17 @@ public:
static void writeCommonInfo();
+ static void storeExceptionHandler(google_breakpad::ExceptionHandler* pExceptionHandler);
+
+ // when we create the ExceptionHandler we have no access to the user
+ // profile yet, so update when we have access
+ static void updateMinidumpLocation();
+
private:
static osl::Mutex maMutex;
+
+ static google_breakpad::ExceptionHandler* mpExceptionHandler;
};
// Add dummy methods for the non-breakpad case. That allows us to use