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/Breakpad.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/ios/Breakpad.h') diff --git a/src/client/ios/Breakpad.h b/src/client/ios/Breakpad.h index c190385c..3bec1a63 100644 --- a/src/client/ios/Breakpad.h +++ b/src/client/ios/Breakpad.h @@ -196,8 +196,8 @@ void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key); // Method to handle uploading data to the server -// Returns if there is some report to send to the server. -bool BreakpadHasCrashReportToUpload(BreakpadRef ref); +// Returns the number of crash reports waiting to send to the server. +int BreakpadGetCrashReportCount(BreakpadRef ref); // Upload next report to the server. void BreakpadUploadNextReport(BreakpadRef ref); -- cgit v1.2.1