Skip to main content

Module process

Module process 

Source
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§

ChromiumProcess
A handle to the running Chromium process.
ChromiumProcessOptions
Options for launching the Chromium process.
ChromiumRuntime
Owns a live Chromium session, its event stream, and the spawned child process.
ChromiumRuntimeShutdownStateReader
Cloneable reader for observing runtime shutdown state from other threads.
StartChromiumOptions
Combined options for launching Chromium and connecting the backend.

Enums§

ChromiumRuntimeShutdownState
Current shutdown status tracked by the runtime’s shared shutdown controller.
InstallSignalHandlersError
Errors returned when installing process-wide signal handlers for a runtime.
RuntimeSelection
Runtime selection for Chromium-backed startup.
ShutdownMode
Shutdown strategy used when terminating a running Chromium runtime.
StartChromiumError
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.