Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1001 Bytes

CookieVisitor.md

File metadata and controls

35 lines (23 loc) · 1001 Bytes

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

Parameter Type
cookie Cookie
count int
total int
delete_cookie_out list[bool]
Return bool

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.