Revert "Mojo: Adapt C++ bindings to new message APIs"

This reverts commit 5b9839ca209cd11c4d899fa92202a280a5c9d222.

Reason for revert: broken test

Original change's description:
> Mojo: Adapt C++ bindings to new message APIs
> 
> Replaces use of MojoAllocMessage with MojoCreateMessage et al in
> preparation for supporting lazy serialzation in the C++ bindings.
> 
> This eliminates the last remaining usage of deprecated system APIs
> (MojoAllocMessage, MojoGetMessageBuffer, MojoReadMessage, and
> MojoWriteMessage.)
> 
> Message serialization logic such as header encoding is merged into
> the Message implementation.
> 
> BUG=725321
> 
> Change-Id: I323ec330ed58f271a6769e7068a28be842688567
> Reviewed-on: https://chromium-review.googlesource.com/536415
> Commit-Queue: Ken Rockot <rockot@chromium.org>
> Reviewed-by: Yuzhu Shen <yzshen@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#480214}

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

Change-Id: I7ac1d6e7b2adf00d15eaf41ee2e6192efdc671f9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 725321
Reviewed-on: https://chromium-review.googlesource.com/539094
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#480248}

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