diff options
author | qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-12-09 08:21:26 +0000 |
---|---|---|
committer | qsr@chromium.org <qsr@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2011-12-09 08:21:26 +0000 |
commit | a42704eccc9867b85bf14a37533576aff627cb40 (patch) | |
tree | 2e566ae044d52e6082d50d1299b91cab1ebe5264 /src/client/ios/Breakpad.h | |
parent | Fix a missed include path change from r889. (r=qsr in person) (diff) | |
download | breakpad-a42704eccc9867b85bf14a37533576aff627cb40.tar.xz |
Add API on iOS to generate dump on demand.
Review URL: http://breakpad.appspot.com/331001
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@893 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios/Breakpad.h')
-rw-r--r-- | src/client/ios/Breakpad.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/ios/Breakpad.h b/src/client/ios/Breakpad.h index 22431bfe..f1e19acf 100644 --- a/src/client/ios/Breakpad.h +++ b/src/client/ios/Breakpad.h @@ -47,6 +47,10 @@ extern "C" { #include <client/apple/Framework/BreakpadDefines.h> +// The keys in the dictionary returned by |BreakpadGenerateReport|. +#define BREAKPAD_OUTPUT_DUMP_FILE "BreakpadDumpFile" +#define BREAKPAD_OUTPUT_CONFIG_FILE "BreakpadConfigFile" + // Optional user-defined function to decide if we should handle this crash or // forward it along. // Return true if you want Breakpad to handle it. @@ -201,6 +205,13 @@ void BreakpadUploadNextReport(BreakpadRef ref); void BreakpadUploadData(BreakpadRef ref, NSData *data, NSString *name, NSDictionary *server_parameters); +// Generate a breakpad minidump and configuration file in the dump directory. +// The report will be available for uploading. The paths of the created files +// are returned in the dictionary. |server_parameters| is additional server +// parameters to add in the config file. +NSDictionary *BreakpadGenerateReport(BreakpadRef ref, + NSDictionary *server_parameters); + #ifdef __cplusplus } #endif |