|
Chromium Embedded Framework (CEF)
141.0.5+gfe26daa+chromium-141.0.7390.55
|
The sandbox is used to restrict sub-processes (renderer, GPU, etc) from directly accessing system resources. More...
Classes | |
| class | CefScopedSandboxContext |
| Scoped helper for managing the life span of a sandbox context handle. More... | |
Functions | |
| CEF_EXPORT void * | cef_sandbox_initialize (int argc, char **argv) |
| Initialize the sandbox for this process. More... | |
| CEF_EXPORT void | cef_sandbox_destroy (void *sandbox_context) |
| Destroy the specified sandbox context handle. More... | |
The sandbox is used to restrict sub-processes (renderer, GPU, etc) from directly accessing system resources.
This helps to protect the user from untrusted and potentially malicious Web content. See https://bitbucket.org/chromiumembedded/cef/wiki/SandboxSetup.md for usage details. See include/wrapper/cef_library_loader.h for example usage.
| CEF_EXPORT void cef_sandbox_destroy | ( | void * | sandbox_context | ) |
Destroy the specified sandbox context handle.
| CEF_EXPORT void* cef_sandbox_initialize | ( | int | argc, |
| char ** | argv | ||
| ) |
Initialize the sandbox for this process.
Returns the sandbox context handle on success or NULL on failure. The returned handle should be passed to cef_sandbox_destroy() immediately before process termination.