diff options
author | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-11-20 16:34:13 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-11-20 16:34:13 +0000 |
commit | 8e28cb38988455cbdd4fcac2c8dc7301baca009a (patch) | |
tree | a98b6d980deaf0f3e974e283e14c764e16926510 /src/client/ios/BreakpadController.h | |
parent | Allow SIGABRT to abort the program. (diff) | |
download | breakpad-8e28cb38988455cbdd4fcac2c8dc7301baca009a.tar.xz |
Provide BreakpadGetCrashReportCount() and -[BreakpadController
getCrashReportCount:]
This provides the ability for clients to query the number of crash reports
that are waiting to upload.
Patch by KiYun Roe <kiyun@chromium.org>
BUG=547
Review URL: https://breakpad.appspot.com/714002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1234 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/ios/BreakpadController.h')
-rw-r--r-- | src/client/ios/BreakpadController.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/ios/BreakpadController.h b/src/client/ios/BreakpadController.h index 6e6229a7..eb59e228 100644 --- a/src/client/ios/BreakpadController.h +++ b/src/client/ios/BreakpadController.h @@ -108,6 +108,9 @@ // Check if there is currently a crash report to upload. - (void)hasReportToUpload:(void(^)(BOOL))callback; +// Get the number of crash reports waiting to upload. +- (void)getCrashReportCount:(void(^)(int))callback; + @end #endif // CLIENT_IOS_HANDLER_IOS_BREAKPAD_CONTROLLER_H_ |