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..a9fb1b2fa2e7b0f915eb64625b30089b6718f724 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -82,6 +82,7 @@ class MediaStreamCenter; |
class MediaStreamDependencyFactory; |
class P2PSocketDispatcher; |
class PeerConnectionTracker; |
+class RendererGpuVideoDecoderFactories; |
class RendererWebKitPlatformSupportImpl; |
class RenderProcessObserver; |
class VideoCaptureImplManager; |
@@ -277,6 +278,10 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, |
// not sent for at least one notification delay. |
void PostponeIdleNotification(); |
+ // Gets a RendererGpuVideoDecoderFactories. Returns NULL if VDA is disabled or |
+ // a graphics context cannot be obtained. |
+ RendererGpuVideoDecoderFactories* GetGpuFactories(); |
+ |
// Returns a graphics context shared among all |
// RendererGpuVideoDecoderFactories, or NULL on error. Context remains owned |
// by this class and must be null-tested before each use to detect context |