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