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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2310753002: Media Remoting: Data/Control plumbing between renderer and Media Router. (Closed)
Patch Set: Just a REBASE on ToT before commit. Created 4 years, 3 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
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index b90ce57a4997d16e7e2c5a4592e026453f906196..9523dbc4a089b87782057af8c1834e5cafadc8e2 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -38,6 +38,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"
@@ -1019,6 +1020,7 @@ class CONTENT_EXPORT RenderFrameImpl
shell::mojom::InterfaceProvider* GetMediaInterfaceProvider();
#endif
+ media::mojom::RemoterFactory* GetRemoterFactory();
media::CdmFactory* GetCdmFactory();
media::DecoderFactory* GetDecoderFactory();
@@ -1184,6 +1186,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

Powered by Google App Engine
This is Rietveld 408576698