aboutsummaryrefslogtreecommitdiff
path: root/src/client/ios
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/ios')
-rw-r--r--src/client/ios/Breakpad.h9
-rw-r--r--src/client/ios/Breakpad.mm9
-rw-r--r--src/client/ios/BreakpadController.mm3
3 files changed, 15 insertions, 6 deletions
diff --git a/src/client/ios/Breakpad.h b/src/client/ios/Breakpad.h
index c3362b0f..9d212f70 100644
--- a/src/client/ios/Breakpad.h
+++ b/src/client/ios/Breakpad.h
@@ -200,9 +200,12 @@ void BreakpadRemoveUploadParameter(BreakpadRef ref, NSString *key);
int BreakpadGetCrashReportCount(BreakpadRef ref);
// Upload next report to the server.
-// |server_parameters| is additional server parameters to send (optional).
-void BreakpadUploadNextReport(BreakpadRef ref,
- NSDictionary *server_parameters = nil);
+void BreakpadUploadNextReport(BreakpadRef ref);
+
+// Upload next report to the server.
+// |server_parameters| is additional server parameters to send.
+void BreakpadUploadNextReportWithParameters(BreakpadRef ref,
+ NSDictionary *server_parameters);
// Upload a file to the server. |data| is the content of the file to sent.
// |server_parameters| is additional server parameters to send.
diff --git a/src/client/ios/Breakpad.mm b/src/client/ios/Breakpad.mm
index 2bd7e33b..36d82d36 100644
--- a/src/client/ios/Breakpad.mm
+++ b/src/client/ios/Breakpad.mm
@@ -789,8 +789,13 @@ int BreakpadGetCrashReportCount(BreakpadRef ref) {
}
//=============================================================================
-void BreakpadUploadNextReport(BreakpadRef ref,
- NSDictionary *server_parameters) {
+void BreakpadUploadNextReport(BreakpadRef ref) {
+ BreakpadUploadNextReportWithParameters(ref, nil);
+}
+
+//=============================================================================
+void BreakpadUploadNextReportWithParameters(BreakpadRef ref,
+ NSDictionary *server_parameters) {
try {
// Not called at exception time
Breakpad *breakpad = (Breakpad *)ref;
diff --git a/src/client/ios/BreakpadController.mm b/src/client/ios/BreakpadController.mm
index 4571470d..94d93d60 100644
--- a/src/client/ios/BreakpadController.mm
+++ b/src/client/ios/BreakpadController.mm
@@ -300,7 +300,8 @@ NSString* GetPlatform() {
// A report can be sent now.
if (timeToWait == 0) {
[self reportWillBeSent];
- BreakpadUploadNextReport(breakpadRef_, uploadTimeParameters_);
+ BreakpadUploadNextReportWithParameters(breakpadRef_,
+ uploadTimeParameters_);
// If more reports must be sent, make sure this method is called again.
if (BreakpadGetCrashReportCount(breakpadRef_) > 0)