[mojo-edk] Explicitly serialise HANDLEs into messages instead of PlatformHandles.

This changes HANDLEs on windows to have an explicit serialised form instead of
copying the in-memory PlatformHandle class. This is intended to prevent
accidental leakage of information between processes, and address serialisation
issues such as padding.

BUG=604282

Review-Url: https://codereview.chromium.org/2008953003
Cr-Commit-Position: refs/heads/master@{#396667}


CrOS-Libchrome-Original-Commit: 9a14e9bc319a664d5175a3cd65ea297e06f7391a
6 files changed
tree: 7558b558eebebfc71cb1a821e1cd4728171c3e04
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/