| Index: content/child/resource_dispatcher.h
|
| diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
|
| index 4d8f7867797fd37bc0a1afac4a524cc04815a0e0..7be2ef95fe7e57abc11f0e1ee52e976d546fb0a6 100644
|
| --- a/content/child/resource_dispatcher.h
|
| +++ b/content/child/resource_dispatcher.h
|
| @@ -26,6 +26,7 @@ namespace content {
|
| class ResourceDispatcherDelegate;
|
| struct ResourceResponseHead;
|
| struct SiteIsolationResponseMetaData;
|
| +class ThreadedDataProvider;
|
|
|
| // This class serves as a communication interface between the
|
| // ResourceDispatcherHost in the browser process and the ResourceLoaderBridge in
|
| @@ -70,6 +71,11 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| void DidChangePriority(int routing_id, int request_id,
|
| net::RequestPriority new_priority);
|
|
|
| + // The provided data receiver will receive incoming resource data rather
|
| + // than the resource bridge.
|
| + bool AttachThreadedDataReceiver(
|
| + int request_id, blink::WebThreadedDataReceiver* threaded_data_receiver);
|
| +
|
| // This does not take ownership of the delegate. It is expected that the
|
| // delegate have a longer lifetime than the ResourceDispatcher.
|
| void set_delegate(ResourceDispatcherDelegate* delegate) {
|
| @@ -97,6 +103,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
|
| ~PendingRequestInfo();
|
|
|
| webkit_glue::ResourceLoaderBridge::Peer* peer;
|
| + ThreadedDataProvider* threaded_data_provider;
|
| ResourceType::Type resource_type;
|
| // The PID of the original process which issued this request. This gets
|
| // non-zero only for a request proxied by another renderer, particularly
|
|
|