Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: content/child/request_info.h

Issue 1366883002: [Reland] Post loading tasks on the appropriate WebFrameScheduler's queue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix UAF in BackgroundHTMLParser Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/request_info.h
diff --git a/content/child/request_info.h b/content/child/request_info.h
index e610ac8917554029957dc123b36c938033908f7b..037c1db059a588968cec13d67e16985a62b38948 100644
--- a/content/child/request_info.h
+++ b/content/child/request_info.h
@@ -17,9 +17,14 @@
#include "content/public/common/resource_type.h"
#include "net/base/request_priority.h"
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
+#include "third_party/WebKit/public/platform/WebTaskRunner.h"
#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.
+ scoped_ptr<blink::WebTaskRunner> loading_web_task_runner;
+
private:
DISALLOW_COPY_AND_ASSIGN(RequestInfo);
};

Powered by Google App Engine
This is Rietveld 408576698