aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/sender/crash_report_sender.cc
diff options
context:
space:
mode:
authorDavid Major <dmajor@mozilla.com>2015-10-06 10:58:50 -0400
committerTed Mielczarek <ted@mielczarek.org>2015-10-06 11:05:12 -0400
commit7685dfc567dc45e523864a0e9177d003e1b46276 (patch)
treee0699555089d2d2be98abc35b6071ac1c7bdc559 /src/client/windows/sender/crash_report_sender.cc
parentFix MSVC build (including on 2015), drop some workarounds for MSVC older than... (diff)
downloadbreakpad-7685dfc567dc45e523864a0e9177d003e1b46276.tar.xz
Support for multiple upload files in CrashReportSender/HTTPUpload
A=David Major <dmajor@mozilla.com> BUG=https://bugzilla.mozilla.org/show_bug.cgi?id=1048091 R=ted@mielczarek.org Review URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1048091 .
Diffstat (limited to 'src/client/windows/sender/crash_report_sender.cc')
-rw-r--r--src/client/windows/sender/crash_report_sender.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/windows/sender/crash_report_sender.cc b/src/client/windows/sender/crash_report_sender.cc
index ecf626d8..70c36b0e 100644
--- a/src/client/windows/sender/crash_report_sender.cc
+++ b/src/client/windows/sender/crash_report_sender.cc
@@ -59,7 +59,7 @@ CrashReportSender::CrashReportSender(const wstring &checkpoint_file)
ReportResult CrashReportSender::SendCrashReport(
const wstring &url, const map<wstring, wstring> &parameters,
- const wstring &dump_file_name, wstring *report_code) {
+ const map<wstring, wstring> &files, wstring *report_code) {
int today = GetCurrentDate();
if (today == last_sent_date_ &&
max_reports_per_day_ != -1 &&
@@ -69,7 +69,7 @@ ReportResult CrashReportSender::SendCrashReport(
int http_response = 0;
bool result = HTTPUpload::SendRequest(
- url, parameters, dump_file_name, L"upload_file_minidump", NULL, report_code,
+ url, parameters, files, NULL, report_code,
&http_response);
if (result) {