From 976930db64c56d476b02ebe86602a9600248ac7f Mon Sep 17 00:00:00 2001 From: "qsr@chromium.org" Date: Wed, 16 Nov 2011 17:04:28 +0000 Subject: Add an API to Breakpad to upload custom file to the crash server. On iOS, sending logs using the usual breakpad behavior is not possible, because tar is not available. This allow to use Breakpad to send any file to the crash server. R=mark@chromium.org Review URL: http://breakpad.appspot.com/327001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@885 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/ios/Breakpad.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client/ios/Breakpad.h') diff --git a/src/client/ios/Breakpad.h b/src/client/ios/Breakpad.h index 685dea32..1483e860 100644 --- a/src/client/ios/Breakpad.h +++ b/src/client/ios/Breakpad.h @@ -196,6 +196,11 @@ bool BreakpadHasCrashReportToUpload(BreakpadRef ref); // Upload next report to the server. void BreakpadUploadNextReport(BreakpadRef ref); +// Upload a file to the server. |data| is the content of the file to sent. +// |server_parameters| is additional server parameters to send. +void BreakpadUploadData(BreakpadRef ref, NSData *data, + NSDictionary *server_parameters); + #ifdef __cplusplus } #endif -- cgit v1.2.1