Chromium Embedded Framework (CEF)  115.2.0+g096e3eb+chromium-115.0.5790.13
CefCookieVisitor Class Referenceabstract

Interface to implement for visiting cookie values. More...

#include "include/cef_cookie.h"

Inheritance diagram for CefCookieVisitor:
CefBaseRefCounted

Public Member Functions

virtual bool Visit (const CefCookie &cookie, int count, int total, bool &deleteCookie)=0
 Method that will be called once for each cookie. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Interface to implement for visiting cookie values.

The methods of this class will always be called on the UI thread.

Member Function Documentation

◆ Visit()

virtual bool CefCookieVisitor::Visit ( const CefCookie cookie,
int  count,
int  total,
bool &  deleteCookie 
)
pure virtual

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 |deleteCookie| to true to delete the cookie currently being visited. Return false to stop visiting cookies. This method may never be called if no cookies are found.


The documentation for this class was generated from the following file: