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

Issue 544393002: Add MachMessageServer and its test (Closed)

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

Description

Add MachMessageServer and its test. MachMessageServer is much like mach_msg_server() and mach_msg_server_once(), but with a C++ interface and with a number of deficiencies corrected. TEST=util_test MachMessageServer.* R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/67082c93b922eda317b325c1fc4b8bfe09103dd2

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address review feedback #

Total comments: 1

Patch Set 3 : Address review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+956 lines, -0 lines) Patch
A util/mach/mach_message_server.h View 1 2 1 chunk +154 lines, -0 lines 0 comments Download
A util/mach/mach_message_server.cc View 1 1 chunk +282 lines, -0 lines 0 comments Download
A util/mach/mach_message_server_test.cc View 1 1 chunk +517 lines, -0 lines 0 comments Download
M util/util.gyp View 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Mark Mentovai
6 years, 3 months ago (2014-09-05 23:12:53 UTC) #2
Robert Sesek
https://codereview.chromium.org/544393002/diff/1/util/mach/mach_message_server.cc File util/mach/mach_message_server.cc (right): https://codereview.chromium.org/544393002/diff/1/util/mach/mach_message_server.cc#newcode228 util/mach/mach_message_server.cc:228: : MACH_SEND_TIMEOUT); Why is SEND_ONCE a gate for SEND_TIMEOUT? ...
6 years, 3 months ago (2014-09-08 16:28:47 UTC) #3
Mark Mentovai
All feedback addressed.
6 years, 3 months ago (2014-09-08 22:29:02 UTC) #4
Robert Sesek
LGTM. Awesome test :). https://codereview.chromium.org/544393002/diff/20001/util/mach/mach_message_server.h File util/mach/mach_message_server.h (right): https://codereview.chromium.org/544393002/diff/20001/util/mach/mach_message_server.h#newcode70 util/mach/mach_message_server.h:70: //! be received as the ...
6 years, 3 months ago (2014-09-09 00:21:58 UTC) #5
Mark Mentovai
Thanks, Robert!
6 years, 3 months ago (2014-09-09 01:06:30 UTC) #6
Mark Mentovai
6 years, 3 months ago (2014-09-09 01:06:37 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 67082c9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698