| Index: content/renderer/render_frame_impl.h
|
| diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
|
| index 91475903159ac756c749f9a16b56ee8e959dd371..4fafb2523657f464847f366b82c2799cbaf89cdc 100644
|
| --- a/content/renderer/render_frame_impl.h
|
| +++ b/content/renderer/render_frame_impl.h
|
| @@ -37,6 +37,7 @@
|
| #include "ipc/ipc_platform_file.h"
|
| #include "media/blink/webmediaplayer_delegate.h"
|
| #include "media/blink/webmediaplayer_params.h"
|
| +#include "media/mojo/interfaces/remoting.mojom.h"
|
| #include "mojo/public/cpp/bindings/binding.h"
|
| #include "services/shell/public/interfaces/connector.mojom.h"
|
| #include "services/shell/public/interfaces/interface_provider.mojom.h"
|
| @@ -1010,6 +1011,7 @@ class CONTENT_EXPORT RenderFrameImpl
|
| shell::mojom::InterfaceProvider* GetMediaInterfaceProvider();
|
| #endif
|
|
|
| + media::mojom::RemoterFactory* GetRemoterFactory();
|
| media::CdmFactory* GetCdmFactory();
|
| media::DecoderFactory* GetDecoderFactory();
|
|
|
| @@ -1164,6 +1166,10 @@ class CONTENT_EXPORT RenderFrameImpl
|
|
|
| media::SurfaceManager* media_surface_manager_;
|
|
|
| + // Lazy-bound pointer to the RemoterFactory service in the browser
|
| + // process. Always use the GetRemoterFactory() accessor instead of this.
|
| + media::mojom::RemoterFactoryPtr remoter_factory_;
|
| +
|
| #if defined(ENABLE_BROWSER_CDMS)
|
| // Manage all CDMs in this render frame for communicating with the real CDM in
|
| // the browser process. It's okay to use a raw pointer since it's a
|
|
|