-
Sean Topping authored
This change introduces some Mojo helper classes that make it easier to create and pass services between processes. The following classes have been added: BinderFactory: Encapsulates Mojo binding boilerplate, adding simple accessors to bind mojo::PendingReceivers or provide a Binder callback for an implementation. InterfaceBundle: An easy-to-use substitute for BinderRegistry and InterfaceProvider. This class allows interfaces to be bundled together and shipped across processes. RemoteInterfaces: Remote client interface for accessing interfaces provided by InterfaceBundle. Allows for late-binding and request queueing so services can immediately start using interfaces. Merge-With: eureka-internal/455677 Bug: internal b/169098077 Test: cast_mojo_unittests, Build/run cast_shell on display device + Chromecast Change-Id: I2dd748db1969b65042587fd29d1a83b86987126a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441952 Commit-Queue: Sean Topping <seantopping@chromium.org> Reviewed-by:
Michael Spang <spang@chromium.org> Reviewed-by:
Ken Rockot <rockot@google.com> Reviewed-by:
Kenneth MacKay <kmackay@chromium.org> Cr-Commit-Position: refs/heads/master@{#814823}
1f7bc476