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

Unified Diff: third_party/WebKit/public/platform/WebURLLoader.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 android compile 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: third_party/WebKit/public/platform/WebURLLoader.h
diff --git a/third_party/WebKit/public/platform/WebURLLoader.h b/third_party/WebKit/public/platform/WebURLLoader.h
index eada222a35754d50362a8ff4febd00194fc96adb..84837eb04aa2a769547e6298b345c3be5ba42881 100644
--- a/third_party/WebKit/public/platform/WebURLLoader.h
+++ b/third_party/WebKit/public/platform/WebURLLoader.h
@@ -37,6 +37,7 @@
namespace blink {
class WebData;
+class WebTaskRunner;
class WebThreadedDataReceiver;
class WebURLLoaderClient;
class WebURLResponse;
@@ -78,6 +79,9 @@ public:
// of the data receiver is assumed by the WebURLLoader and the receiver should
// be deleted on the main thread when no longer needed.
virtual bool attachThreadedDataReceiver(WebThreadedDataReceiver*) { return false; }
+
+ // Sets the task runner for which any loading tasks should be posted on.
Sami 2015/09/30 13:03:16 nit: takes ownership?
alex clarke (OOO till 29th) 2015/09/30 13:37:17 Done.
+ virtual void setLoadingTaskRunner(WebTaskRunner*) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698