Chromium Code Reviews
Description[mojo-edk] Serialise windows handles into an "extra header" section.
This change introduces an "extra header" section of a channel message
header. On windows, platform handles are place into this section instead
of being appended to the end of a message.
At the same time, make a couple of smaller changes:
1. Allow the number of serialised handles to be less than the number
stated in the constructor.
2. Add a has_mach_ports() helper function.
3. Limit the number of attached handles.
These changes are all prep work for Mach ports support.
BUG=582468
Committed: https://crrev.com/fbebd41187198e7782b3fec9ddf9f155b9df1789
Cr-Commit-Position: refs/heads/master@{#378099}
Patch Set 1 #Patch Set 2 : Fix build. #Patch Set 3 : Build #
Messages
Total messages: 13 (3 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||