Expand description
Chromium process launch and startup wiring for cbf-chrome.
This module resolves the runtime executable, prepares bridge startup state,
launches the Chromium child process, and connects it to
crate::backend::ChromiumBackend. It owns process-level concerns such as
runtime selection, command-line startup options, and initial IPC session
establishment.
Structs§
- Chromium
Process - A handle to the running Chromium process.
- Chromium
Process Options - Options for launching the Chromium process.
- Chromium
Runtime - Owns a live Chromium session, its event stream, and the spawned child process.
- Chromium
Runtime Shutdown State Reader - Cloneable reader for observing runtime shutdown state from other threads.
- Start
Chromium Options - Combined options for launching Chromium and connecting the backend.
Enums§
- Chromium
Runtime Shutdown State - Current shutdown status tracked by the runtime’s shared shutdown controller.
- Install
Signal Handlers Error - Errors returned when installing process-wide signal handlers for a runtime.
- Runtime
Selection - Runtime selection for Chromium-backed startup.
- Shutdown
Mode - Shutdown strategy used when terminating a running Chromium runtime.
- Start
Chromium Error - Errors that can occur while launching Chromium and completing initial bridge/session setup.
Functions§
- resolve_
chromium_ executable - Resolves Chromium executable path for CBF applications.
- start_
chromium - Launches the Chromium process and connects to it via an inherited Mojo endpoint.