.. | ||
BUILD.gn | ||
configuration.h | ||
embedder.cc | ||
embedder.h | ||
embedder_internal.h | ||
embedder_unittest.cc | ||
entrypoints.cc | ||
entrypoints.h | ||
platform_channel_pair.cc | ||
platform_channel_pair.h | ||
platform_channel_pair_posix.cc | ||
platform_channel_pair_posix_unittest.cc | ||
platform_channel_pair_win.cc | ||
platform_channel_utils_posix.cc | ||
platform_channel_utils_posix.h | ||
platform_handle.cc | ||
platform_handle.h | ||
platform_handle_utils.h | ||
platform_handle_utils_posix.cc | ||
platform_handle_utils_win.cc | ||
platform_handle_vector.h | ||
platform_shared_buffer.cc | ||
platform_shared_buffer.h | ||
process_delegate.h | ||
README.md | ||
scoped_platform_handle.h | ||
test_embedder.cc | ||
test_embedder.h |
Mojo Embedder API
The Mojo Embedder API is an unstable, internal API to the Mojo system implementation. It should be used by code running on top of the system-level APIs to set up the Mojo environment (instead of directly instantiating things from src/mojo/edk/system).
Example uses: Mojo shell, to set up the Mojo environment for Mojo apps; Chromium code, to set up the Mojo IPC system for use between processes. Note that most code should use the Mojo Public API (under src/mojo/public) instead. The Embedder API should only be used to initialize the environment, set up the initial MessagePipe between two processes, etc.