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_message_start.h | |
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_message_start.h')
-rw-r--r-- | ipc/ipc_message_start.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_start.h b/ipc/ipc_message_start.h index b37c5c9..f5538a9 100644 --- a/ipc/ipc_message_start.h +++ b/ipc/ipc_message_start.h @@ -123,6 +123,7 @@ enum IPCMessageStart { ContentSettingsMsgStart, ChromeAppBannerMsgStart, SafeJsonParserMsgStart, + AttachmentBrokerMsgStart, LastIPCMsgStart // Must come last. }; |