| Index: webkit/child/resource_loader_bridge.h
|
| diff --git a/webkit/child/resource_loader_bridge.h b/webkit/child/resource_loader_bridge.h
|
| index 75323867b2c73e78f4eb73fdf29d2a1e47778087..9481a82d054eb29ef474cdc8ec6a8847c24bc4f4 100644
|
| --- a/webkit/child/resource_loader_bridge.h
|
| +++ b/webkit/child/resource_loader_bridge.h
|
| @@ -33,6 +33,10 @@
|
| #include "webkit/common/resource_response_info.h"
|
| #include "webkit/common/resource_type.h"
|
|
|
| +namespace blink {
|
| +class WebThreadedDataReceiver;
|
| +}
|
| +
|
| // TODO(pilgrim) remove this once resource loader is moved to content
|
| // http://crbug.com/338338
|
| namespace content {
|
| @@ -217,6 +221,11 @@ class ResourceLoaderBridge {
|
| // call to the Start method.
|
| virtual void DidChangePriority(net::RequestPriority new_priority) = 0;
|
|
|
| + // Call this method to attach a data receiver which will receive resource data
|
| + // on its own thread.
|
| + virtual bool AttachThreadedDataReceiver(
|
| + blink::WebThreadedDataReceiver* threaded_data_receiver) = 0;
|
| +
|
| // Call this method to load the resource synchronously (i.e., in one shot).
|
| // This is an alternative to the Start method. Be warned that this method
|
| // will block the calling thread until the resource is fully downloaded or an
|
|
|