Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

(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.


Constructor Summary
virtual ~Provider()
          
 
Method Summary
 virtual bool OnRequest( scoped_refptr< Request > request )= 0
          Called to handle a request.
 virtual void OnRequestCanceled( scoped_refptr< Request > request )
          Called when a request has been canceled.
 

Constructor Detail

~Provider

public virtual ~Provider();


Method Detail

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.

 Overview   Project   Class   Tree   Index 
CEF3 C++ API Docs - Version 75.1.4+g4210896+chromium-75.0.3770.100
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

Chromium Embedded Framework (CEF) Copyright © 2016 Marshall A. Greenblatt