by nkanand » Sat Oct 03, 2020 11:54 am
We are doing custom processing within pepper flash hooks.
We have added custom implementation within: PepperURLLoaderHost::DidReceiveResponse. The method gets invoked with WebURLResponse. Within the method we want to mimic the initial request and override based on certain match conditions.
Earlier WebURLRequest would just suffice. Looks like they are deprecating WebURLRequest in favor of network::ResourceRequest.
Is there an acceptable way to get hold of the initial request as a ResourceRequest object in PepperURLLoaderHost::DidReceiveResponse (or) convert blink::WebURLRequest to network::ResourceRequest?