tree: 8124e3f049df9bbdafb583ed6db55e156df3a947 [path history] [tgz]
  1. embedder.cc
  2. embedder.h
  3. embedder_unittest.cc
  4. platform_channel_pair.cc
  5. platform_channel_pair.h
  6. platform_channel_pair_posix.cc
  7. platform_channel_pair_posix_unittest.cc
  8. platform_channel_utils_posix.cc
  9. platform_channel_utils_posix.h
  10. platform_handle.cc
  11. platform_handle.h
  12. README.md
  13. scoped_platform_handle.h
  14. test_embedder.cc
  15. test_embedder.h
mojo/embedder/README.md

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/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.