tree: 780b7859d6f147989d80daff5edf03d7034e0d20 [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_win.cc
  9. platform_handle.cc
  10. platform_handle.h
  11. README.md
  12. scoped_platform_handle.h
  13. test_embedder.cc
  14. 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.