(default)
Class CefResourceManager::Provider
in cef_resource_manager.h
- class CefResourceManager::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.
~Provider
public virtual ~Provider();
OnRequest
public virtual bool OnRequest( scoped_refptr< Request > request )= 0;
- 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.
OnRequestCanceled
public virtual void OnRequestCanceled( scoped_refptr< Request > request );
- 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.
Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt