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

Unified Diff: content/renderer/render_thread_impl.h

Issue 281073002: NOT FOR REVIEW: Adding prioritized incoming task queue to renderers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prioritize input events Created 6 years, 7 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 | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index f221bd4da07422817928824e1cb4591866697566..211dcb0b691f2f0ac56b6c6c1e6c47d6f5e8acc8 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -40,6 +40,7 @@ class WebMediaStreamCenterClient;
}
namespace base {
+class HighPriorityTaskRunner;
class MessageLoopProxy;
class Thread;
}
@@ -82,6 +83,7 @@ class DomStorageDispatcher;
class EmbeddedWorkerDispatcher;
class GamepadSharedMemoryReader;
class GpuChannelHost;
+class HighPriorityResourceFilter;
class IndexedDBDispatcher;
class InputEventFilter;
class InputHandlerManager;
@@ -314,6 +316,9 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// lazily created on the first call.
media::AudioHardwareConfig* GetAudioHardwareConfig();
+ void UseHighPriorityTaskRunner(
+ scoped_refptr<base::HighPriorityTaskRunner> high_priority_task_runner);
+
#if defined(OS_WIN)
void PreCacheFontCharacters(const LOGFONT& log_font,
const base::string16& str);
@@ -471,6 +476,8 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
scoped_refptr<RendererDemuxerAndroid> renderer_demuxer_;
#endif
scoped_refptr<DevToolsAgentFilter> devtools_agent_message_filter_;
+ scoped_refptr<HighPriorityResourceFilter> high_priority_resource_filter_;
+ scoped_refptr<base::HighPriorityTaskRunner> high_priority_task_runner_;
scoped_ptr<MediaStreamDependencyFactory> media_stream_factory_;
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698