Index: content/child/web_url_loader_impl.h |
diff --git a/content/child/web_url_loader_impl.h b/content/child/web_url_loader_impl.h |
index ebad018f21205c64ac762017fe606ae1a81381da..b31b57e3c7e4885b1b1c3ab38321ff5de81ba54f 100644 |
--- a/content/child/web_url_loader_impl.h |
+++ b/content/child/web_url_loader_impl.h |
@@ -36,9 +36,10 @@ struct StreamOverrideParameters { |
class CONTENT_EXPORT WebURLLoaderImpl |
: public NON_EXPORTED_BASE(blink::WebURLLoader) { |
public: |
- explicit WebURLLoaderImpl( |
- ResourceDispatcher* resource_dispatcher, |
- scoped_refptr<base::SingleThreadTaskRunner> task_runner); |
+ |
+ // Takes ownership of |web_task_runner|. |
+ WebURLLoaderImpl(ResourceDispatcher* resource_dispatcher, |
+ scoped_ptr<blink::WebTaskRunner> web_task_runner); |
~WebURLLoaderImpl() override; |
static void PopulateURLResponse(const GURL& url, |
@@ -67,6 +68,7 @@ class CONTENT_EXPORT WebURLLoaderImpl |
int intra_priority_value) override; |
bool attachThreadedDataReceiver( |
blink::WebThreadedDataReceiver* threaded_data_receiver) override; |
+ void setLoadingTaskRunner(blink::WebTaskRunner* loading_task_runner) override; |
private: |
class Context; |