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

Unified Diff: content/child/resource_dispatcher.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/resource_dispatcher.h
diff --git a/content/child/resource_dispatcher.h b/content/child/resource_dispatcher.h
index 864b081ddca15f45ce9704dd16e205055685bdb5..05500f56199f88d35b7d73d479d8fa6010e9a34d 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -39,6 +39,7 @@ namespace content {
class RequestPeer;
class ResourceDispatcherDelegate;
class ResourceRequestBody;
+class ResourceSchedulingFilter;
class ThreadedDataProvider;
struct ResourceResponseInfo;
struct RequestInfo;
@@ -129,6 +130,9 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
main_thread_task_runner_ = main_thread_task_runner;
}
+ void SetResourceSchedulingFilter(
+ scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter);
+
private:
friend class ResourceDispatcherTest;
@@ -249,6 +253,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
base::TimeTicks io_timestamp_;
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
+ scoped_refptr<ResourceSchedulingFilter> resource_scheduling_filter_;
base::WeakPtrFactory<ResourceDispatcher> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698