| Index: webkit/child/resource_loader_bridge.h
|
| diff --git a/webkit/child/resource_loader_bridge.h b/webkit/child/resource_loader_bridge.h
|
| index 9b97aa30dadf19ec15d9d7c40ce01c83dc710251..19077581b4fad0b96c00bb6655f34233338c5700 100644
|
| --- a/webkit/child/resource_loader_bridge.h
|
| +++ b/webkit/child/resource_loader_bridge.h
|
| @@ -21,6 +21,10 @@
|
| #include "net/base/request_priority.h"
|
| #include "webkit/child/webkit_child_export.h"
|
|
|
| +namespace blink {
|
| +class WebThreadedDataReceiver;
|
| +}
|
| +
|
| // TODO(pilgrim) remove this once resource loader is moved to content
|
| // http://crbug.com/338338
|
| namespace content {
|
| @@ -61,6 +65,11 @@ class ResourceLoaderBridge {
|
| virtual void DidChangePriority(net::RequestPriority new_priority,
|
| int intra_priority_value) = 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
|
|
|