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