diff options
author | erikchen <erikchen@chromium.org> | 2015-07-07 15:13:11 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-07 22:14:00 +0000 |
commit | eece6c3ca617b0d3c37ce137aba1d2079ab892e4 (patch) | |
tree | 3378ce9340ebec508ad4d3c5800b75419137de7d /ipc/ipc.gypi | |
parent | ad58c57745969ba925d0f527854bef3a59b39c0d (diff) | |
download | chromium_src-eece6c3ca617b0d3c37ce137aba1d2079ab892e4.zip chromium_src-eece6c3ca617b0d3c37ce137aba1d2079ab892e4.tar.gz chromium_src-eece6c3ca617b0d3c37ce137aba1d2079ab892e4.tar.bz2 |
Stub in more IPC attachment brokering functionality.
This CL fills in most of the logic for sending a Windows HANDLE from a
non-broker process to the broker process. This consists of several small
changes:
- Create the new IPC messages AttachmentBrokerMsg_WinHandleHasBeenBrokered and
AttachmentBrokerMsg_RequestBrokerageOfWinHandle.
- Add a sender_ member variable to AttachmentBrokerWin.
- Define the wire format for HandleAttachmentWin.
- Add logic to ChannelWin to send
AttachmentBrokerMsg_RequestBrokerageOfWinHandle for each HANDLE attachment.
BUG=466437
Review URL: https://codereview.chromium.org/1188923003
Cr-Commit-Position: refs/heads/master@{#337689}
Diffstat (limited to 'ipc/ipc.gypi')
-rw-r--r-- | ipc/ipc.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipc/ipc.gypi b/ipc/ipc.gypi index 65979d1..9a9407e 100644 --- a/ipc/ipc.gypi +++ b/ipc/ipc.gypi @@ -12,10 +12,12 @@ ['ipc_target==1', { 'sources': [ 'attachment_broker.h', + 'attachment_broker_messages.h', 'attachment_broker_win.cc', 'attachment_broker_win.h', 'brokerable_attachment.cc', 'brokerable_attachment.h', + 'handle_attachment_win.cc', 'handle_attachment_win.h', 'ipc_channel.cc', 'ipc_channel.h', @@ -37,6 +39,8 @@ 'ipc_export.h', 'ipc_forwarding_message_filter.cc', 'ipc_forwarding_message_filter.h', + 'ipc_handle_win.cc', + 'ipc_handle_win.h', 'ipc_listener.h', 'ipc_logging.cc', 'ipc_logging.h', @@ -46,6 +50,8 @@ 'ipc_message_attachment.h', 'ipc_message_attachment_set.cc', 'ipc_message_attachment_set.h', + 'ipc_message_generator.cc', + 'ipc_message_generator.h', 'ipc_message_macros.h', 'ipc_message_start.h', 'ipc_message_utils.cc', |