| Index: third_party/WebKit/public/platform/WebURLLoader.h
|
| diff --git a/third_party/WebKit/public/platform/WebURLLoader.h b/third_party/WebKit/public/platform/WebURLLoader.h
|
| index eada222a35754d50362a8ff4febd00194fc96adb..3a914237dc4bb02c8d1cbcde8c3ca9ceadbe6a7d 100644
|
| --- a/third_party/WebKit/public/platform/WebURLLoader.h
|
| +++ b/third_party/WebKit/public/platform/WebURLLoader.h
|
| @@ -37,6 +37,7 @@
|
| namespace blink {
|
|
|
| class WebData;
|
| +class WebTaskRunner;
|
| class WebThreadedDataReceiver;
|
| class WebURLLoaderClient;
|
| class WebURLResponse;
|
| @@ -78,6 +79,10 @@
|
| // of the data receiver is assumed by the WebURLLoader and the receiver should
|
| // be deleted on the main thread when no longer needed.
|
| virtual bool attachThreadedDataReceiver(WebThreadedDataReceiver*) { return false; }
|
| +
|
| + // Sets the task runner for which any loading tasks should be posted on.
|
| + // Takes ownership of the WebTaskRunner.
|
| + virtual void setLoadingTaskRunner(WebTaskRunner*) = 0;
|
| };
|
|
|
| } // namespace blink
|
|
|