Chromium Code Reviews| Index: content/child/request_info.h |
| diff --git a/content/child/request_info.h b/content/child/request_info.h |
| index e610ac8917554029957dc123b36c938033908f7b..299b2d2b9986edaa3a22eb3ddf8d840c1c1215da 100644 |
| --- a/content/child/request_info.h |
| +++ b/content/child/request_info.h |
| @@ -9,6 +9,7 @@ |
| #include <string> |
| +#include "base/single_thread_task_runner.h" |
| #include "content/common/content_export.h" |
| #include "content/common/service_worker/service_worker_types.h" |
| #include "content/public/common/referrer.h" |
| @@ -20,6 +21,10 @@ |
| #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| #include "url/gurl.h" |
| +namespace blink { |
| +class WebTaskRunner; |
| +} // namespace blink |
| + |
| namespace content { |
| // Structure used when calling BlinkPlatformImpl::CreateResourceLoader(). |
| @@ -110,6 +115,9 @@ struct CONTENT_EXPORT RequestInfo { |
| // Extra data associated with this request. We do not own this pointer. |
| blink::WebURLRequest::ExtraData* extra_data; |
| + // Optional, the specific task queue to execute loading tasks on. |
| + blink::WebTaskRunner* loading_web_task_runner; |
|
Sami
2015/09/29 11:22:46
Who owns this? Should this be a scoped_ptr?
alex clarke (OOO till 29th)
2015/09/29 16:10:36
Done.
|
| + |
| private: |
| DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
| }; |