| Index: content/renderer/render_thread_impl.h
|
| diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
|
| index be9b17617b5d640074bd1b216232a9ef2acf2184..956604c408fdd0d01da90fa04670a28ef378cb3e 100644
|
| --- a/content/renderer/render_thread_impl.h
|
| +++ b/content/renderer/render_thread_impl.h
|
| @@ -272,6 +272,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| // on the renderer's main thread.
|
| scoped_refptr<base::MessageLoopProxy> GetFileThreadMessageLoopProxy();
|
|
|
| + // Returns a MessageLoopProxy instance corresponding to the message loop
|
| + // of the thread on which media operations should be run. Must be called
|
| + // on the renderer's main thread.
|
| + scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy();
|
| +
|
| // Causes the idle handler to skip sending idle notifications
|
| // on the two next scheduled calls, so idle notifications are
|
| // not sent for at least one notification delay.
|
| @@ -442,6 +447,9 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
|
| // May be null if overridden by ContentRendererClient.
|
| scoped_ptr<base::Thread> compositor_thread_;
|
|
|
| + // Thread for running multimedia operations (e.g., video decoding).
|
| + scoped_ptr<base::Thread> media_thread_;
|
| +
|
| // Will point to appropriate MessageLoopProxy after initialization,
|
| // regardless of whether |compositor_thread_| is overriden.
|
| scoped_refptr<base::MessageLoopProxy> compositor_message_loop_proxy_;
|
|
|