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

This reverts commit 0463c3dc61221f43758bb30f9a4e88b4e1e80fe0.

Reason for revert: Causing compile failure on ios-device bot. https://build.chromium.org/p/chromium.mac/builders/ios-device/builds/61163

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}

TBR=rockot@chromium.org,yzshen@chromium.org

Change-Id: I69aaea7d1928136fcddc4a4f3f86bf4c60cf43a8
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/583960
Reviewed-by: nainar <nainar@chromium.org>
Commit-Queue: nainar <nainar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#489215}

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