mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-03-01 03:06:31 +00:00
Back out trunk r1367.
Compile error: https://bugzilla.mozilla.org/show_bug.cgi?id=1048091#c15 Review URL: https://breakpad.appspot.com/9694002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1369 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -59,7 +59,7 @@ CrashReportSender::CrashReportSender(const wstring &checkpoint_file)
|
||||
|
||||
ReportResult CrashReportSender::SendCrashReport(
|
||||
const wstring &url, const map<wstring, wstring> ¶meters,
|
||||
const map<wstring, wstring> &files, wstring *report_code) {
|
||||
const wstring &dump_file_name, 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, files, NULL, report_code,
|
||||
url, parameters, dump_file_name, L"upload_file_minidump", NULL, report_code,
|
||||
&http_response);
|
||||
|
||||
if (result) {
|
||||
|
||||
@@ -77,7 +77,7 @@ class CrashReportSender {
|
||||
|
||||
int max_reports_per_day() const { return max_reports_per_day_; }
|
||||
|
||||
// Sends the specified files, along with the map of
|
||||
// Sends the specified minidump file, along with the map of
|
||||
// name value pairs, as a multipart POST request to the given URL.
|
||||
// Parameter names must contain only printable ASCII characters,
|
||||
// and may not contain a quote (") character.
|
||||
@@ -89,7 +89,7 @@ class CrashReportSender {
|
||||
// (Otherwise, report_code will be unchanged.)
|
||||
ReportResult SendCrashReport(const wstring &url,
|
||||
const map<wstring, wstring> ¶meters,
|
||||
const map<wstring, wstring> &files,
|
||||
const wstring &dump_file_name,
|
||||
wstring *report_code);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user