aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios/BreakpadController.h
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-11-20 16:34:13 +0000
committermark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-11-20 16:34:13 +0000
commit8e28cb38988455cbdd4fcac2c8dc7301baca009a (patch)
treea98b6d980deaf0f3e974e283e14c764e16926510 /src/client/ios/BreakpadController.h
parentAllow SIGABRT to abort the program. (diff)
downloadbreakpad-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.h3
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_