Called on the browser process IO thread before a resource request is
initiated. The |browser| and |frame| values represent the source of the
request. |request| represents the request contents and cannot be modified
in this callback. |is_navigation| will be true (1) if the resource request
is a navigation. |is_download| will be true (1) if the resource request is
a download. |request_initiator| is the origin (scheme + domain) of the
page that initiated the request. Set |disable_default_handling| to true
(1) to disable default handling of the request, in which case it will need
to be handled via cef_resource_request_handler_t::GetResourceHandler or it
will be canceled. To allow the resource load to proceed with default
handling return NULL. To specify a handler for the resource return a
cef_resource_request_handler_t object. If this callback returns NULL the
same function will be called on the associated
cef_request_context_handler_t, if any.
Called on the browser process IO thread before a resource request is initiated. The |browser| and |frame| values represent the source of the request. |request| represents the request contents and cannot be modified in this callback. |is_navigation| will be true (1) if the resource request is a navigation. |is_download| will be true (1) if the resource request is a download. |request_initiator| is the origin (scheme + domain) of the page that initiated the request. Set |disable_default_handling| to true (1) to disable default handling of the request, in which case it will need to be handled via cef_resource_request_handler_t::GetResourceHandler or it will be canceled. To allow the resource load to proceed with default handling return NULL. To specify a handler for the resource return a cef_resource_request_handler_t object. If this callback returns NULL the same function will be called on the associated cef_request_context_handler_t, if any.