Revert "Reland "Mojo C++ Bindings: Dynamic message allocation""

This reverts commit 9ea314373dcd35d1a7a2dc48627d18831d6e789f.

Reason for revert: May be a UAF based on https://bugs.chromium.org/p/chromium/issues/detail?id=748996

Reverting while I investigate

Original change's description:
> Reland "Mojo C++ Bindings: Dynamic message allocation"
> 
> This is a reland of 0463c3dc61221f43758bb30f9a4e88b4e1e80fe0
> 
> Breakage was caused by a defunct test. Test has been deleted.
> 
> Original change's description:
> > Mojo C++ Bindings: Dynamic message allocation
> > 
> > Reduces the "prepare-to-serialize" bindings step to handle and
> > interface collection instead of full message size measurement.
> > 
> > Allows the serialized message buffer to be expanded dynamically
> > during serialization, and reworks the serialization code to support
> > writing into a buffer which may be reallocated (and thus relocated)
> > between operations.
> > 
> > Bug: 742369
> > Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
> > Change-Id: I5cacee48343f565d68a77455872b0bf4e74e7674
> > 
> > TBR=sky@chromium.org
> > 
> > Change-Id: I5cacee48343f565d68a77455872b0bf4e74e7674
> > Reviewed-on: https://chromium-review.googlesource.com/580568
> > Commit-Queue: Ken Rockot <rockot@chromium.org>
> > Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#489210}
> 
> Bug: 742369
> Change-Id: Ic3a55bae2977fdeec93fbeddd95b04dc6aabe880
> Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
> 
> TBR=yzshen@chromium.org
> TBR=sky@chromium.org
> 
> Change-Id: Ic3a55bae2977fdeec93fbeddd95b04dc6aabe880
> Reviewed-on: https://chromium-review.googlesource.com/584038
> Commit-Queue: Ken Rockot <rockot@chromium.org>
> Reviewed-by: Ken Rockot <rockot@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#489326}

TBR=rockot@chromium.org

Change-Id: I684e1e5f0fc402e99afcdc3ba3cd35f650ad1b01
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 742369
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel
Reviewed-on: https://chromium-review.googlesource.com/586667
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489635}

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