class CookieManager

Defined at line 12214 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

Provides methods for monitoring and accessing browser cookie state.

Public Methods

void ~CookieManager ()
void ObserveCookieChanges (::fidl::StringPtr url, ::fidl::StringPtr name, ::fidl::InterfaceRequest< ::fuchsia::web::CookiesIterator> changes)

Observe changes to all cookies named `name` that would be sent in a request to `url`.

If neither `url` nor `name` are set then all cookies are observed. If only `url` is set

then all cookies for that URL are observed. If both are set then only cookies matching both

fields are observed.

`changes` iterates over a stream of cookie changes. Additions or updates are expressed as

complete cookies, while deletions are expressed as cookies with no `value` set.

void GetCookieList (::fidl::StringPtr url, ::fidl::StringPtr name, ::fidl::InterfaceRequest< ::fuchsia::web::CookiesIterator> cookies)

Returns a list of Cookies, optionally limited to those matching `url`, and optionally

`name`. `cookies` iterates over the matching cookies, including their `value`s.