template <>

class NaturalSyncClientImpl

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

Public Methods

::fit::result< ::fidl::OneWayError> ObserveCookieChanges (::fidl::Request< ::fuchsia_web::CookieManager::ObserveCookieChanges> request)

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.

::fit::result< ::fidl::OneWayError> GetCookieList (::fidl::Request< ::fuchsia_web::CookieManager::GetCookieList> request)

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

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