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

Issue 754123002: Add ChildPortServer, a MachMessageServer::Interface implementation for the child_port subsystem (Closed)

Created:
6 years ago by Mark Mentovai
Modified:
6 years ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@child_port_defs
Project:
crashpad
Visibility:
Public.

Description

Add ChildPortServer, a MachMessageServer::Interface implementation for the child_port subsystem. Common routines shared with the ExcServer family of classes have been moved to a new file, where they can be shared between different MachMessageServer::Interface implementations. TEST=util_test ChildPortServer.*:MachMessageUtil.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/04aaa36026c1b625146541b91467ea651a8b7c7e

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address review feedback #

Total comments: 4

Patch Set 3 : Address further review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -27 lines) Patch
A util/mach/child_port_server.h View 1 1 chunk +74 lines, -0 lines 0 comments Download
A util/mach/child_port_server.cc View 1 1 chunk +110 lines, -0 lines 0 comments Download
A util/mach/child_port_server_test.cc View 1 2 1 chunk +133 lines, -0 lines 0 comments Download
M util/mach/exc_server_variants.h View 1 5 chunks +13 lines, -0 lines 0 comments Download
M util/mach/exc_server_variants.cc View 1 13 chunks +13 lines, -27 lines 0 comments Download
A util/mach/mach_message_util.h View 1 1 chunk +53 lines, -0 lines 0 comments Download
A util/mach/mach_message_util.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
A util/mach/mach_message_util_test.cc View 1 1 chunk +68 lines, -0 lines 0 comments Download
M util/util.gyp View 1 3 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Mark Mentovai
This depends on https://codereview.chromium.org/752243002/.
6 years ago (2014-11-24 20:19:20 UTC) #2
Robert Sesek
https://codereview.chromium.org/754123002/diff/1/util/mach/child_port_server.cc File util/mach/child_port_server.cc (right): https://codereview.chromium.org/754123002/diff/1/util/mach/child_port_server.cc#newcode26 util/mach/child_port_server.cc:26: // with the standard mach_msg_server() function calls out to ...
6 years ago (2014-11-25 14:48:25 UTC) #3
Mark Mentovai
Feedback addressed. Thanks for the review! https://codereview.chromium.org/754123002/diff/40001/util/mach/child_port_server_test.cc File util/mach/child_port_server_test.cc (right): https://codereview.chromium.org/754123002/diff/40001/util/mach/child_port_server_test.cc#newcode102 util/mach/child_port_server_test.cc:102: TEST(ChildPortServer, MockChildPortCheckIn) { ...
6 years ago (2014-11-25 17:27:32 UTC) #5
Robert Sesek
LGTM https://codereview.chromium.org/754123002/diff/40001/util/mach/child_port_server_test.cc File util/mach/child_port_server_test.cc (right): https://codereview.chromium.org/754123002/diff/40001/util/mach/child_port_server_test.cc#newcode53 util/mach/child_port_server_test.cc:53: void InitializeForTesting() { Just make this the constructor ...
6 years ago (2014-11-25 18:56:51 UTC) #6
Mark Mentovai
https://codereview.chromium.org/754123002/diff/40001/util/mach/child_port_server_test.cc File util/mach/child_port_server_test.cc (right): https://codereview.chromium.org/754123002/diff/40001/util/mach/child_port_server_test.cc#newcode53 util/mach/child_port_server_test.cc:53: void InitializeForTesting() { Robert Sesek wrote: > Just make ...
6 years ago (2014-11-25 19:29:37 UTC) #7
Mark Mentovai
6 years ago (2014-11-25 19:29:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
04aaa36026c1b625146541b91467ea651a8b7c7e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698