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

Issue 2282413004: Support creating mojo peer connections from named pipes. (Closed)

Created:
4 years, 3 months ago by Sam McNally
Modified:
4 years, 3 months ago
CC:
Aaron Boodman, abarth-chromium, chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Support creating mojo peer connections from named pipes. This adds NamedPlatformHandle, which represents a named pipe - a path to a unix domain socket on POSIX or a pipe name on Windows - and CreateServerHandle and CreateClientHandle which create server and client ScopedPlatformHandles, respectively, from a NamedPlatformHandle. This also changes ChannelPosix to support unconnected server sockets created by CreateServerHandle. BUG=604282 Committed: https://crrev.com/41729472e843a5cd78c32dba6d6ba3a24ef8e7f3 Cr-Commit-Position: refs/heads/master@{#415560}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -85 lines) Patch
M mojo/edk/embedder/BUILD.gn View 1 3 chunks +8 lines, -0 lines 0 comments Download
M mojo/edk/embedder/named_platform_channel_pair.h View 2 chunks +2 lines, -4 lines 0 comments Download
M mojo/edk/embedder/named_platform_channel_pair_win.cc View 5 chunks +15 lines, -61 lines 0 comments Download
A mojo/edk/embedder/named_platform_handle.h View 1 chunk +51 lines, -0 lines 0 comments Download
A mojo/edk/embedder/named_platform_handle_utils.h View 1 chunk +31 lines, -0 lines 0 comments Download
A mojo/edk/embedder/named_platform_handle_utils_posix.cc View 1 1 chunk +147 lines, -0 lines 0 comments Download
A mojo/edk/embedder/named_platform_handle_utils_win.cc View 1 chunk +82 lines, -0 lines 0 comments Download
M mojo/edk/embedder/platform_channel_utils_posix.h View 1 2 chunks +8 lines, -0 lines 0 comments Download
M mojo/edk/embedder/platform_channel_utils_posix.cc View 1 3 chunks +84 lines, -0 lines 0 comments Download
M mojo/edk/embedder/platform_handle.h View 1 chunk +3 lines, -0 lines 0 comments Download
M mojo/edk/embedder/platform_handle_utils_posix.cc View 1 chunk +3 lines, -1 line 0 comments Download
M mojo/edk/system/channel_posix.cc View 1 3 chunks +34 lines, -4 lines 0 comments Download
M mojo/edk/system/multiprocess_message_pipe_unittest.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.h View 1 chunk +8 lines, -0 lines 0 comments Download
M mojo/edk/test/multiprocess_test_helper.cc View 6 chunks +52 lines, -11 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (15 generated)
Sam McNally
4 years, 3 months ago (2016-08-30 07:25:17 UTC) #4
Ken Rockot(use gerrit already)
Nice. Only one comment, but I think it's blocking. A cheesy, intermediate (but probably acceptable) ...
4 years, 3 months ago (2016-08-30 16:58:32 UTC) #7
Sam McNally
https://codereview.chromium.org/2282413004/diff/1/mojo/edk/embedder/BUILD.gn File mojo/edk/embedder/BUILD.gn (right): https://codereview.chromium.org/2282413004/diff/1/mojo/edk/embedder/BUILD.gn#newcode115 mojo/edk/embedder/BUILD.gn:115: deps += [ "//ipc" ] On 2016/08/30 16:58:31, Ken ...
4 years, 3 months ago (2016-08-31 00:00:13 UTC) #14
Ken Rockot(use gerrit already)
lgtm
4 years, 3 months ago (2016-08-31 00:31:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2282413004/60001
4 years, 3 months ago (2016-08-31 03:45:59 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 3 months ago (2016-08-31 04:33:42 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 04:36:10 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/41729472e843a5cd78c32dba6d6ba3a24ef8e7f3
Cr-Commit-Position: refs/heads/master@{#415560}

Powered by Google App Engine
This is Rietveld 408576698