Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(30)

Issue 327001: Add an API to Breakpad to upload custom file to the crash server. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by qsr
Modified:
12 years, 9 months ago
Reviewers:
Mark Mentovai, thakis
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

 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

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 29

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/ios/Breakpad.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/client/ios/Breakpad.mm View 1 2 3 4 3 chunks +35 lines, -0 lines 0 comments Download
M src/client/mac/Breakpad.xcodeproj/project.pbxproj View 4 chunks +4 lines, -4 lines 0 comments Download
M src/client/mac/sender/uploader.h View 1 2 3 4 2 chunks +9 lines, -1 line 0 comments Download
M src/client/mac/sender/uploader.m View 1 2 1 chunk +0 lines, -589 lines 0 comments Download
A + src/client/mac/sender/uploader.mm View 3 4 5 5 chunks +125 lines, -101 lines 1 comment Download

Messages

Total messages: 5
qsr
12 years, 11 months ago #1
Mark Mentovai
http://breakpad.appspot.com/327001/diff/2001/1006 File src/client/ios/Breakpad.mm (right): http://breakpad.appspot.com/327001/diff/2001/1006#newcode430 Line 430: void Breakpad::UploadData(NSData *data, NSDictionary *server_parameter) { |server_parameter| should ...
12 years, 11 months ago #2
qsr
Ok, this is finally quite a large refactoring... http://breakpad.appspot.com/327001/diff/2001/1006 File src/client/ios/Breakpad.mm (right): http://breakpad.appspot.com/327001/diff/2001/1006#newcode430 Line 430: ...
12 years, 11 months ago #3
Mark Mentovai
LGTM. Nice refactoring. I don’t love the old code but I’m not going to hold ...
12 years, 11 months ago #4
thakis
12 years, 9 months ago #5
http://breakpad.appspot.com/327001/diff/9/4010
File src/client/mac/sender/uploader.mm (right):

http://breakpad.appspot.com/327001/diff/9/4010#newcode549
Line 549: [self uploadData:logFileData_ name:@"log" url:url];
You're passing a url: parameter here, but uploadData:name: doesn't take a url:
parameter. I'm fixing this in https://chromiumcodereview.appspot.com/9234054/ ;
shout if that's wrong somehow.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted