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/Breakpad.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/Breakpad.h')
-rw-r--r-- | src/client/ios/Breakpad.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |