// this class will always be called on the IO thread.
///
/*--cef(source=client)--*/
-class CefResourceHandler : public virtual CefBase {
+class CefResourceHandler : public virtual CefBaseRefCounted {
public:
///
// Begin processing the request. To handle the request return true and call
// false or the specified number of bytes have been read. Use the |response|
// object to set the mime type, http status code and other optional header
// values. To redirect the request to a new URL set |redirectUrl| to the new
- // URL.
+ // URL. If an error occured while setting up the request you can call
+ // SetError() on |response| to indicate the error condition.
///
/*--cef()--*/
virtual void GetResponseHeaders(CefRefPtr<CefResponse> response,