Chromium Embedded Framework (CEF)
114.2.1+gd70a0a8+chromium-114.0.5735.45
|
Implement this interface to filter cookies that may be sent or received from resource requests. More...
#include "include/cef_resource_request_handler.h"
Public Member Functions | |
virtual bool | CanSendCookie (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, const CefCookie &cookie) |
Called on the IO thread before a resource request is sent. More... | |
virtual bool | CanSaveCookie (CefRefPtr< CefBrowser > browser, CefRefPtr< CefFrame > frame, CefRefPtr< CefRequest > request, CefRefPtr< CefResponse > response, const CefCookie &cookie) |
Called on the IO thread after a resource response is received. 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 () |
Implement this interface to filter cookies that may be sent or received from resource requests.
The methods of this class will be called on the IO thread unless otherwise indicated.
|
inlinevirtual |
Called on the IO thread after a resource response is received.
The |browser| and |frame| values represent the source of the request, and may be NULL for requests originating from service workers or CefURLRequest. |request| cannot be modified in this callback. Return true if the specified cookie returned with the response can be saved or false otherwise.
|
inlinevirtual |
Called on the IO thread before a resource request is sent.
The |browser| and |frame| values represent the source of the request, and may be NULL for requests originating from service workers or CefURLRequest. |request| cannot be modified in this callback. Return true if the specified cookie can be sent with the request or false otherwise.