Mojo C++ bindings: support sync methods - part 1.

This CL:
- adds support for [Sync] attribute;
- generates C++ sync method signatures;
- does the simplest thing to block and wait for results of sync calls. (Allows
  any messages of the same interface ptr to re-enter; disallows any messages of
  other message pipes to re-enter.)

The following will be in future CLs:
- Change the re-entrancy behavior.
- Support sync calls with associated interfaces.

BUG=577699

Review URL: https://codereview.chromium.org/1701423002

Cr-Commit-Position: refs/heads/master@{#376023}


CrOS-Libchrome-Original-Commit: 904b45f35fb925bab31d25e43732a947385460b6
15 files changed
tree: 8831d3e963e6c3e3a0eba131a3178beb6873a6e2
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/