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

Unified Diff: third_party/WebKit/Source/core/fetch/FetchContext.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: third_party/WebKit/Source/core/fetch/FetchContext.h
diff --git a/third_party/WebKit/Source/core/fetch/FetchContext.h b/third_party/WebKit/Source/core/fetch/FetchContext.h
index dbcb39b1809f5f6cfc60a6c4ea8137d58f618c39..243bf2bcb9897fecac781a262e5092c49cc1afd0 100644
--- a/third_party/WebKit/Source/core/fetch/FetchContext.h
+++ b/third_party/WebKit/Source/core/fetch/FetchContext.h
@@ -48,6 +48,7 @@ class ResourceLoader;
class ResourceResponse;
class ResourceRequest;
class ResourceTimingInfo;
+class WebTaskRunner;
enum FetchResourceType {
FetchMainResource,
@@ -106,6 +107,7 @@ public:
virtual bool fetchIncreasePriorities() const { return false; }
virtual ResourceLoadPriority modifyPriorityForExperiments(ResourceLoadPriority priority, Resource::Type, const FetchRequest&) { return priority; }
+ virtual WebTaskRunner* loadingTaskRunner() const { return nullptr; }
protected:
FetchContext() { }

Powered by Google App Engine
This is Rietveld 408576698