Chromium Embedded Framework (CEF)
114.2.1+gd70a0a8+chromium-114.0.5735.45
|
Interface implemented by resource providers. More...
#include "include/wrapper/cef_resource_manager.h"
Public Member Functions | |
virtual bool | OnRequest (scoped_refptr< Request > request)=0 |
Called to handle a request. More... | |
virtual void | OnRequestCanceled (scoped_refptr< Request > request) |
Called when a request has been canceled. More... | |
virtual | ~Provider () |
Interface implemented by resource providers.
A provider may be created on any thread but the methods will be called on, and the object will be destroyed on, the browser process IO thread.
|
inlinevirtual |
|
pure virtual |
Called to handle a request.
If the provider knows immediately that it will not handle the request return false. Otherwise, return true and call Request::Continue or Request::Stop either in this method or asynchronously to indicate completion. See comments on Request for additional usage information.
|
inlinevirtual |
Called when a request has been canceled.
It is still safe to dereference |request| but any calls to Request::Continue or Request::Stop will be ignored.