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

Unified Diff: content/public/renderer/render_thread.h

Issue 2635053002: [content] Expose renderer scheduler task queues in content::RenderThread. (Closed)
Patch Set: Fixed compilation Created 3 years, 11 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
« no previous file with comments | « no previous file | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/render_thread.h
diff --git a/content/public/renderer/render_thread.h b/content/public/renderer/render_thread.h
index 86e7e9f2f9a4c6650cf73ca011dac54afb49c630..3e1759c9d35bb21ae158034a4db0a344cc494acd 100644
--- a/content/public/renderer/render_thread.h
+++ b/content/public/renderer/render_thread.h
@@ -106,6 +106,11 @@ class CONTENT_EXPORT RenderThread : virtual public ChildThread {
// Retrieve the process ID of the browser process.
virtual int32_t GetClientId() = 0;
+
+ // Handles for posting tasks to appropriate renderer scheduler task queues.
+ virtual scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() = 0;
+ virtual scoped_refptr<base::SingleThreadTaskRunner>
+ GetLoadingTaskRunner() = 0;
};
} // namespace content
« no previous file with comments | « no previous file | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698