-
Ken Rockot authored
Adds mojom equivalents of {ReadOnly,Writable,Unsafe}SharedMemoryRegion. These are typemapped to the new base types. The typemap implementation is currently written by wrapping and unwrapping generic platform handles rather than relying on Mojo's shared buffer implementation. Existing mojom shared buffer handle consumers will be converted to use these types in place of raw handle<shared_buffer>. The (mojom) types here will eventually wrap handle<shared_buffer> instead of raw platform handles. This is to ease the transition to new shared memory semantics while also getting us something we want, i.e., stronger shared memory type safety for common mojom uses. Bug: 826213 Change-Id: Iba36758b70953492997e744eeecaf7b7403627fc Reviewed-on: https://chromium-review.googlesource.com/982577Reviewed-by:Daniel Cheng <dcheng@chromium.org> Commit-Queue: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#547104}
062470b4