Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Issue 785233011: Add CrashpadClient (Closed)

Created:
6 years ago by Mark Mentovai
Modified:
5 years, 11 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Target Ref:
refs/heads/master
Project:
crashpad
Visibility:
Public.

Description

Add CrashpadClient. CrashpadClient is the primary interface for an application to have Crashpad monitor it for crashes. It contains StartHandler(), which starts a Crashpad handler process, and UseHandler(), which configures the process to direct its crashes to a handler process. R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/2602e9d5d0501923999c8462033024309dce0e27

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -0 lines) Patch
M client/client.gyp View 2 chunks +3 lines, -0 lines 0 comments Download
A client/crashpad_client.h View 1 chunk +89 lines, -0 lines 0 comments Download
A client/crashpad_client_mac.cc View 1 2 1 chunk +192 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Mark Mentovai
A generic crashpad_handler executable is proposed for review separately at https://codereview.chromium.org/789693005. There is no strict ...
6 years ago (2014-12-19 22:48:41 UTC) #2
Robert Sesek
LGTM Did you consider using posix_spawn for this instead? https://codereview.chromium.org/785233011/diff/20001/client/crashpad_client_mac.cc File client/crashpad_client_mac.cc (right): https://codereview.chromium.org/785233011/diff/20001/client/crashpad_client_mac.cc#newcode91 client/crashpad_client_mac.cc:91: ...
5 years, 11 months ago (2014-12-29 16:34:04 UTC) #3
Mark Mentovai
Since I want to double-fork(), I’ve got to either fork() at least once, or double-posix_spawn(). ...
5 years, 11 months ago (2014-12-29 17:20:37 UTC) #4
Robert Sesek
Right, I thought there may be a posix_spawn() flag that would daemonize the process for ...
5 years, 11 months ago (2014-12-30 15:46:01 UTC) #5
Mark Mentovai
5 years, 11 months ago (2014-12-30 19:24:56 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
2602e9d5d0501923999c8462033024309dce0e27 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698