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

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: Rebased Created 5 years, 3 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..2228d026ea7eaf5e1ff75ba40751f6b3dd019c56 100644
--- a/content/child/resource_dispatcher.h
+++ b/content/child/resource_dispatcher.h
@@ -136,12 +136,14 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
struct PendingRequestInfo {
PendingRequestInfo();
- PendingRequestInfo(RequestPeer* peer,
- ResourceType resource_type,
- int origin_pid,
- const GURL& frame_origin,
- const GURL& request_url,
- bool download_to_file);
+ PendingRequestInfo(
+ RequestPeer* peer,
+ ResourceType resource_type,
+ int origin_pid,
+ const GURL& frame_origin,
+ const GURL& request_url,
+ bool download_to_file,
+ scoped_refptr<base::SingleThreadTaskRunner> loading_task_queue);
~PendingRequestInfo();
@@ -169,6 +171,7 @@ class CONTENT_EXPORT ResourceDispatcher : public IPC::Listener {
scoped_refptr<SharedMemoryReceivedDataFactory> received_data_factory;
linked_ptr<SiteIsolationResponseMetaData> site_isolation_metadata;
int buffer_size;
+ scoped_refptr<base::SingleThreadTaskRunner> loading_task_queue;
};
typedef base::hash_map<int, PendingRequestInfo> PendingRequestList;

Powered by Google App Engine
This is Rietveld 408576698