tree: b320c6051902a8d380f127399788e6d829f1fde5 [path history] [tgz]
  1. DEPS
  2. embedder.cc
  3. embedder.h
  4. embedder_unittest.cc
  5. platform_channel_pair.cc
  6. platform_channel_pair.h
  7. platform_channel_pair_posix.cc
  8. platform_channel_pair_posix_unittest.cc
  9. platform_channel_pair_win.cc
  10. platform_channel_utils_posix.cc
  11. platform_channel_utils_posix.h
  12. platform_handle.cc
  13. platform_handle.h
  14. platform_handle_utils.h
  15. platform_handle_vector.h
  16. README.md
  17. scoped_platform_handle.h
  18. test_embedder.cc
  19. 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.