|
IPC: Add MojoHandleAttachment
This CL introduces MojoHandleAttachment, a MessageAttachment subclass.
With this and ChannelMojo, we are able to send Mojo MessagePipes
over IPC.
There is also MojoMessageHelper which provides some static member functions
that reads and writes MessagePipes from/to a Message. In coming changes,
we'll add ParamTraits for MessagePipe based on this.
R=agl@chromium.org, viettrungluu@chromium.org
TEST=IPCChannelMojoTest.SendMessagePipe, IPCChannelMojoTest.SendPlatformHandleAndPipe
BUG= 448190
Committed: https://crrev.com/81b17e069328d70e1008c958251ff1ddfed5b4f8
Cr-Commit-Position: refs/heads/master@{#314930}
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+478 lines, -95 lines) |
Patch |
 |
M |
ipc/ipc_channel_nacl.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_channel_posix.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_channel_win.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message.cc
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_attachment.h
|
View
|
1
2
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_attachment_set.h
|
View
|
1
|
3 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ipc/ipc_message_attachment_set.cc
|
View
|
1
2
3
|
4 chunks |
+13 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ipc/mojo/BUILD.gn
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ipc/mojo/ipc_channel_mojo.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ipc/mojo/ipc_channel_mojo.cc
|
View
|
1
2
3
4
|
3 chunks |
+60 lines, -48 lines |
0 comments
|
Download
|
 |
M |
ipc/mojo/ipc_channel_mojo_unittest.cc
|
View
|
1
2
3
4
|
6 chunks |
+205 lines, -33 lines |
0 comments
|
Download
|
 |
M |
ipc/mojo/ipc_mojo.gyp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ipc/mojo/ipc_mojo_handle_attachment.h
|
View
|
1
2
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ipc/mojo/ipc_mojo_handle_attachment.cc
|
View
|
1
2
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ipc/mojo/ipc_mojo_message_helper.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ipc/mojo/ipc_mojo_message_helper.cc
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (2 generated)
|