Chromium Code Reviews| Index: public/platform/WebURLLoader.h |
| diff --git a/public/platform/WebURLLoader.h b/public/platform/WebURLLoader.h |
| index e183a32104018f69dca07a9600f50054b9e64edd..ed554f73d07fd19cf309f41ee1bcf6ed9fe2995e 100644 |
| --- a/public/platform/WebURLLoader.h |
| +++ b/public/platform/WebURLLoader.h |
| @@ -37,6 +37,7 @@ |
| namespace blink { |
| class WebData; |
| +class WebThreadedDataReceiver; |
| class WebURLLoaderClient; |
| class WebURLResponse; |
| struct WebURLError; |
| @@ -69,6 +70,11 @@ public: |
| // its previous value. For example, a preload request starts with low |
| // priority, but may increase when the resource is needed for rendering. |
| virtual void didChangePriority(WebURLRequest::Priority newPriority) { } |
| + |
| + // Try to attach the given data receiver which from this point will receive data |
| + // on its thread, rather than the WebURLLoaderClient. If successful, ownership |
|
darin (slow to review)
2014/03/19 03:51:07
you should probably indicate what thread the WebTh
darin (slow to review)
2014/03/19 03:51:07
"on its thread" -> might be nice to spell out that
oystein (OOO til 10th of July)
2014/03/21 19:26:38
Done.
|
| + // of the data receiver is assumed by the WebURLLoader. |
| + virtual bool attachThreadedDataReceiver(WebThreadedDataReceiver*) { return false; } |
| }; |
| } // namespace blink |