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

Issue 361001: Add high level API for breakpad on iOS. (Closed)

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

Description

 Add high level API for breakpad on iOS.

 The new API allows to automatically upload repports to the crash server when
the application restarts.

 This change also:
 - Correct a bug on the test for correct alignment of the abrt signal handler
 - Add user friendly information on crashes for SIGABRT and NSException
Committed: https://code.google.com/p/google-breakpad/source/detail?r=935

Patch Set 1 #

Patch Set 2 : #

Total comments: 55

Patch Set 3 : #

Total comments: 14

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/ios/Breakpad.xcodeproj/project.pbxproj View 5 chunks +8 lines, -0 lines 0 comments Download
A src/client/ios/BreakpadController.h View 1 2 3 1 chunk +106 lines, -0 lines 0 comments Download
A src/client/ios/BreakpadController.mm View 1 2 3 1 chunk +266 lines, -0 lines 0 comments Download
M src/client/ios/handler/ios_exception_minidump_generator.mm View 2 chunks +2 lines, -1 line 0 comments Download
M src/client/mac/handler/exception_handler.cc View 1 3 chunks +9 lines, -7 lines 0 comments Download
M src/google_breakpad/common/minidump_exception_mac.h View 1 chunk +5 lines, -3 lines 0 comments Download
M src/processor/minidump_processor.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 6
qsr
12 years, 8 months ago #1
qsr
Ping?
12 years, 8 months ago #2
Mark Mentovai
https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.h File src/client/ios/BreakpadController.h (right): https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.h#newcode29 src/client/ios/BreakpadController.h:29: This file needs #include guards. https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.h#newcode30 src/client/ios/BreakpadController.h:30: #include "client/ios/Breakpad.h" ...
12 years, 8 months ago #3
qsr
https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.h File src/client/ios/BreakpadController.h (right): https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.h#newcode29 src/client/ios/BreakpadController.h:29: On 2012/03/13 17:55:22, Mark Mentovai wrote: > This file ...
12 years, 8 months ago #4
Mark Mentovai
LGTM otherwise https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.mm File src/client/ios/BreakpadController.mm (right): https://breakpad.appspot.com/361001/diff/2001/src/client/ios/BreakpadController.mm#newcode154 src/client/ios/BreakpadController.mm:154: object:nil]; qsr wrote: > Not sure to ...
12 years, 8 months ago #5
qsr
12 years, 8 months ago #6
https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
File src/client/ios/BreakpadController.h (right):

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.h:1: // Copyright (c) 2011, Google Inc.
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> 2012

Done.

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.h:58: // The interval to wait between 2
uploads. Value is 0 if no upload must be
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> 2 -> two

Done.

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
File src/client/ios/BreakpadController.mm (right):

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.mm:1: // Copyright (c) 2011, Google Inc.
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> 2012

Done.

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.mm:66: namespace {
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> Blank line after this…

Done.

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.mm:72: const char kHwMachineSysctlName[] =
"hw.machine";
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> Since this is only used inside GetPlatform, only declare it inside
GetPlatform.

Done.

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.mm:79: if (sysctlbyname("hw.machine", NULL,
&size, NULL, 0) || size == 0)
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> You didn’t use the const char[] here!

Done.

https://breakpad.appspot.com/361001/diff/4001/src/client/ios/BreakpadControll...
src/client/ios/BreakpadController.mm:86: }  // namespace
On 2012/03/13 19:42:12, Mark Mentovai wrote:
> …and before this.

Done.
Sign in to reply to this message.

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