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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2204673004: WIP - WebMediaPlayer switch media renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add switching of CdmFactory. Created 4 years, 4 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 | « no previous file | content/renderer/render_frame_impl.cc » ('j') | media/blink/webmediaplayer_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 4fcba4dca3d6d070c7849d593b353a8fedffe580..6f3e2cb1bcfafd3ae5880c20be8bc85bc72cb020 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -695,6 +695,9 @@ class CONTENT_EXPORT RenderFrameImpl
void OnSetPepperVolume(int32_t pp_instance, double volume);
#endif // ENABLE_PLUGINS
+ // Callback for WebMediaPlayerImpl to check whether remoting CDM is used.
+ bool isUsingRemotingCdm() { return is_using_remoting_cdm_; }
+
protected:
explicit RenderFrameImpl(const CreateParams& params);
@@ -1288,6 +1291,13 @@ class CONTENT_EXPORT RenderFrameImpl
mojo::Binding<mojom::Frame> frame_binding_;
mojom::FrameHostPtr frame_host_;
+ // This is an indicator whether is in mirroring/remoting session.
+ bool is_remote_sink_available_;
+
+ // This is an indicator whether the remoting CdmFactory is used for encrypted
+ // content.
+ bool is_using_remoting_cdm_;
+
base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | media/blink/webmediaplayer_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698