Chromium Embedded Framework (CEF)
106.0.15+gbb70d04+chromium-106.0.5249.12
|
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.