ChannelMojo should use PID from the bootstrap Channel.
commit0bd20bd071b18f094999263b377ee58173347567
authormorrita <morrita@chromium.org>
Wed, 25 Feb 2015 20:11:27 +0000 (25 12:11 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 25 Feb 2015 20:12:22 +0000 (25 20:12 +0000)
tree8b5009d1d83173fb1a26404ef85352369b3c363f
parent1ef880153850f6251bf5ace62cb60fa83ede8576
ChannelMojo should use PID from the bootstrap Channel.

The original naive implementation ignores sandboxing limitation.
It should ask underlying channel to do it correctly.

TEST=IPCChannelMojoTest.VerifyGlobalPid
R=agl@chromium.org, viettrungluu@chromium.org
BUG=451553

Review URL: https://codereview.chromium.org/942933005

Cr-Commit-Position: refs/heads/master@{#318099}
ipc/mojo/ipc_channel_mojo.cc
ipc/mojo/ipc_channel_mojo_unittest.cc
ipc/mojo/ipc_mojo_bootstrap.cc
ipc/mojo/ipc_mojo_bootstrap.h