From 8e28cb38988455cbdd4fcac2c8dc7301baca009a Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Wed, 20 Nov 2013 16:34:13 +0000 Subject: 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 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 --- src/client/ios/BreakpadController.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/ios/BreakpadController.h') 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_ -- cgit v1.2.1