CookieVisitor (interface)

December 20, 2016 ยท View on GitHub

API categories | API index

CookieVisitor (interface)

See CookieManager.VisitAllCookies() and CookieManager.VisitUrlCookies().

You must keep a strong reference to the CookieVisitor object while visiting cookies, otherwise it gets destroyed and the CookieVisitor callbacks won't be called.

Table of contents:

Callbacks

Visit

ParameterType
cookieCookie
countint
totalint
delete_cookie_outlist[bool]
Returnbool

Method that will be called once for each cookie. |count| is the 0-based index for the current cookie. |total| is the total number of cookies. Set |delete_cookie_out[0]| to True to delete the cookie currently being visited. Return False to stop visiting cookies, True to continue. This method may never be called if no cookies are found.