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

Issue 974002: Add -[BreakpadController setUploadServerParameters:] for iOS. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by kiyun
Modified:
10 years, 9 months ago
Reviewers:
blundell
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src/
Visibility:
Public.

Description

Add -[BreakpadController setUploadServerParameters:] for iOS.

This provides the ability to add server parameters to a crash report when the
report is uploaded.

BUG=558

Patch Set 1 : dealloc #

Total comments: 8

Patch Set 2 : addUploadParameter:forKey:applyAtUploadTime: #

Total comments: 2

Patch Set 3 : remove NSAssert(!started_, ...) #

Total comments: 3

Patch Set 4 : Breakpad upload_next_report_server_parameters_ #

Total comments: 1

Patch Set 5 : revert to Patch Set 1 #

Patch Set 6 : address blundell's comments #

Total comments: 2

Patch Set 7 : fix resetConfiguration #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/ios/Breakpad.h View 4 1 chunk +3 lines, -1 line 0 comments Download
M client/ios/Breakpad.mm View 1 2 3 4 5 3 chunks +11 lines, -5 lines 0 comments Download
M client/ios/BreakpadController.h View 1 2 3 4 5 2 chunks +9 lines, -2 lines 0 comments Download
M client/ios/BreakpadController.mm View 1 2 3 4 5 6 4 chunks +10 lines, -1 line 0 comments Download

Messages

Total messages: 21
kiyun
10 years, 10 months ago #1
blundell
How does this relate to BreakpadAddUploadParameter()?
10 years, 10 months ago #2
kiyun
On 2014/01/06 13:04:05, blundell wrote: > How does this relate to BreakpadAddUploadParameter()? BreakpadAddUploadParameter adds parameters ...
10 years, 10 months ago #3
blundell
https://breakpad.appspot.com/974002/diff/20001/client/ios/BreakpadController.h File client/ios/BreakpadController.h (right): https://breakpad.appspot.com/974002/diff/20001/client/ios/BreakpadController.h#newcode92 client/ios/BreakpadController.h:92: - (void)setUploadServerParameters:(NSDictionary*)uploadServerParameters; If I'm following you correctly, then I ...
10 years, 9 months ago #4
kiyun
PTAL https://breakpad.appspot.com/974002/diff/20001/client/ios/BreakpadController.h File client/ios/BreakpadController.h (right): https://breakpad.appspot.com/974002/diff/20001/client/ios/BreakpadController.h#newcode92 client/ios/BreakpadController.h:92: - (void)setUploadServerParameters:(NSDictionary*)uploadServerParameters; On the face of it, the ...
10 years, 9 months ago #5
blundell
https://breakpad.appspot.com/974002/diff/80001/client/ios/BreakpadController.mm File client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/974002/diff/80001/client/ios/BreakpadController.mm#newcode219 client/ios/BreakpadController.mm:219: NSAssert(!started_, @"The controller must not be started when " ...
10 years, 9 months ago #6
kiyun
PTAL https://breakpad.appspot.com/974002/diff/80001/client/ios/BreakpadController.mm File client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/974002/diff/80001/client/ios/BreakpadController.mm#newcode219 client/ios/BreakpadController.mm:219: NSAssert(!started_, @"The controller must not be started when ...
10 years, 9 months ago #7
blundell
Thanks for the work. https://breakpad.appspot.com/974002/diff/120001/client/ios/BreakpadController.h File client/ios/BreakpadController.h (right): https://breakpad.appspot.com/974002/diff/120001/client/ios/BreakpadController.h#newcode99 client/ios/BreakpadController.h:99: // Specify a parameter that ...
10 years, 9 months ago #8
kiyun
https://breakpad.appspot.com/974002/diff/120001/client/ios/BreakpadController.mm File client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/974002/diff/120001/client/ios/BreakpadController.mm#newcode219 client/ios/BreakpadController.mm:219: [uploadServerParameters_ setObject:value forKey:key]; I think that having a server_parameters ...
10 years, 9 months ago #9
blundell
The problem I have with your first patch is twofold: 1) The API's aren't parallel ...
10 years, 9 months ago #10
kiyun
On 2014/01/09 16:56:57, blundell wrote: > The problem I have with your first patch is ...
10 years, 9 months ago #11
kiyun
PTAL Patch Set 4 contains the version with the upload server parameters in Breakpad.
10 years, 9 months ago #12
blundell
Thanks for the explanation. I understand the motivation behind Patch Set 1 much better now: ...
10 years, 9 months ago #13
kiyun
On 2014/01/09 20:54:13, blundell wrote: > Thanks for the explanation. I understand the motivation behind ...
10 years, 9 months ago #14
blundell
OK, I'm on board now. Thanks! Patch Set 1 LGTM with nits. Apologies for the ...
10 years, 9 months ago #15
kiyun
PTAL https://breakpad.appspot.com/974002/diff/20001/client/ios/Breakpad.mm File client/ios/Breakpad.mm (right): https://breakpad.appspot.com/974002/diff/20001/client/ios/Breakpad.mm#newcode461 client/ios/Breakpad.mm:461: for (NSString *key in server_parameters) { On 2014/01/09 ...
10 years, 9 months ago #16
kiyun
If it looks okay to you, can you please land it for me?
10 years, 9 months ago #17
blundell
https://breakpad.appspot.com/974002/diff/160012/client/ios/BreakpadController.mm File client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/974002/diff/160012/client/ios/BreakpadController.mm#newcode196 client/ios/BreakpadController.mm:196: [self setUploadServerParameters:nil]; You need to change this callsite.
10 years, 9 months ago #18
kiyun
PTAL. If you're happy with it, can you please land it for me? https://breakpad.appspot.com/974002/diff/160012/client/ios/BreakpadController.mm File ...
10 years, 9 months ago #19
blundell
Committed as r1271.
10 years, 9 months ago #20
kiyun
10 years, 9 months ago #21
On 2014/01/13 10:41:09, blundell wrote:
> Committed as r1271.

Thank you! I will close this issue now.
Sign in to reply to this message.

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