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..84837eb04aa2a769547e6298b345c3be5ba42881 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,9 @@ public: |
// 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. |
Sami
2015/09/30 13:03:16
nit: takes ownership?
alex clarke (OOO till 29th)
2015/09/30 13:37:17
Done.
|
+ virtual void setLoadingTaskRunner(WebTaskRunner*) = 0; |
}; |
} // namespace blink |