|
Chromium Embedded Framework (CEF)
145.0.1+g472e75d+chromium-145.0.7632.5
|
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 created by cef_sandbox_initialize(). More... | |
| void * | cef_scoped_sandbox_initialize (int argc, char **argv) |
| Initialize the scoped sandbox for this process. More... | |
| void | cef_scoped_sandbox_destroy (void *sandbox_context) |
| Destroy the specified scoped sandbox handle created by cef_scoped_sandbox_initialize(). 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 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.