template <>

class NaturalSyncClientImpl

Defined at line 253 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_messaging.h

Public Methods

::fidl::Result< ::fuchsia_web::Context::GetRemoteDebuggingPort> GetRemoteDebuggingPort ()

Waits until debugging is available on one or more Frames, and returns the DevTools port

number. Multiple calls may be queued to received the port number.

If an error occurred, the [`ContextError`] will be set to this value:

- `REMOTE_DEBUGGING_PORT_NOT_OPENED`: `remote_debugging_port` was not set in

[`CreateContextParams`] or the remote debugging service failed to start.

::fit::result< ::fidl::OneWayError> CreateFrame (::fidl::Request< ::fuchsia_web::Context::CreateFrame> request)

Creates a new [`Frame`] under this [`Context`]. Destruction of a [`Context`] triggers the

destruction of all of its associated [`Frame`]. [`Frame`] can be transferred to another

component but cannot be shared across multiple components.

- `frame`: An interface request that will be bound to the created [`Frame`].

::fit::result< ::fidl::OneWayError> CreateFrameWithParams (::fidl::Request< ::fuchsia_web::Context::CreateFrameWithParams> request)

Similar to [`Context.CreateFrame`], with extra parameters.

- `params`: The configuration used to create the [`Frame`].

This method will fail with `ZX_ERR_INVALID_ARGS` if the table is not clonable.

- `frame`: An interface request that will be bound to the created [`Frame`].

::fit::result< ::fidl::OneWayError> GetCookieManager (::fidl::Request< ::fuchsia_web::Context::GetCookieManager> request)

Used to observe cookies for sites hosted under this Context.