diff options
author | amistry <amistry@chromium.org> | 2016-03-03 14:25:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-03 22:27:33 +0000 |
commit | ebaca1a5f5909b5cacbb3ebebbacb1968486cd16 (patch) | |
tree | e699a71524783da5a289dd15de109cb546d8790b /chrome/browser/ui/webui/ntp/new_tab_ui.cc | |
parent | c45d7cce9017369c36ecbe3ed2d4567eea786f24 (diff) | |
download | chromium_src-ebaca1a5f5909b5cacbb3ebebbacb1968486cd16.zip chromium_src-ebaca1a5f5909b5cacbb3ebebbacb1968486cd16.tar.gz chromium_src-ebaca1a5f5909b5cacbb3ebebbacb1968486cd16.tar.bz2 |
Re-land: [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.
This re-land perserves the old wire format and message semantics on ChromeOS
and changes it on all other platforms.
Original change: https://codereview.chromium.org/1740953002
BUG=582468
Review URL: https://codereview.chromium.org/1759033002
Cr-Commit-Position: refs/heads/master@{#379114}
Diffstat (limited to 'chrome/browser/ui/webui/ntp/new_tab_ui.cc')
0 files changed, 0 insertions, 0 deletions