Chromium Code Reviews| Index: webkit/child/resource_loader_bridge.h |
| diff --git a/webkit/child/resource_loader_bridge.h b/webkit/child/resource_loader_bridge.h |
| index e1cd310fd33d2659d94b65e4195ed4a6cd672eed..a3fbbdab1468268cb7abd9fb1ba8f4d089501d0a 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 WebThreadedResourceProvider; |
| +} |
| + |
| namespace webkit_glue { |
| class ResourceRequestBody; |
| @@ -212,6 +216,12 @@ class ResourceLoaderBridge { |
| // call to the Start method. |
| virtual void DidChangePriority(net::RequestPriority new_priority) = 0; |
| + // Call this method to request an implementation of |
| + // WebThreadedResourceProvider which will be used to interact with the parser |
|
darin (slow to review)
2014/02/11 07:05:00
It seems unnecessary to mention the "parser thread
|
| + // thread. |
| + virtual blink::WebThreadedResourceProvider* |
| + CreateThreadedResourceProvider() = 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 |