|
Chromium Embedded Framework (CEF) 148.0.4+ga59e378+chromium-148.0.7778.40
|
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. | |
| CEF_EXPORT void | cef_sandbox_destroy (void *sandbox_context) |
| Destroy the specified sandbox context handle created by cef_sandbox_initialize(). | |
| void * | cef_scoped_sandbox_initialize (int argc, char **argv) |
| Initialize the scoped sandbox for this process. | |
| void | cef_scoped_sandbox_destroy (void *sandbox_context) |
| Destroy the specified scoped sandbox handle created by cef_scoped_sandbox_initialize(). | |
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://chromiumembedded.github.io/cef/sandbox_setup 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 created by cef_sandbox_initialize().
| 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.
| void cef_scoped_sandbox_destroy | ( | void * | sandbox_context | ) |
Destroy the specified scoped sandbox handle created by cef_scoped_sandbox_initialize().
| void * cef_scoped_sandbox_initialize | ( | int | argc, |
| char ** | argv | ||
| ) |
Initialize the scoped sandbox for this process.
Returns an opaque handle on success or NULL on failure. The returned handle should be passed to cef_scoped_sandbox_destroy() immediately before process termination. This is a wrapper around CefScopedSandboxContext for C API users.