Chromium Embedded Framework (CEF)
122.1.5+gf09a9bc+chromium-122.0.6261.29
|
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 ()=default |
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.
|
virtualdefault |
|
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.