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

Unified Diff: chromecast/browser/media/media_pipeline_host.h

Issue 894173002: Adds hook for content embedders to get media::BrowserCdm*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes CmaMessageFilterHost callback reference, rebase Created 5 years, 10 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: chromecast/browser/media/media_pipeline_host.h
diff --git a/chromecast/browser/media/media_pipeline_host.h b/chromecast/browser/media/media_pipeline_host.h
index ccbb7c6f3443ff2ebdf1f73693ffa57a4def2f90..32b9cdb7586e1b259ac56438ec6bc38f0c64ef14 100644
--- a/chromecast/browser/media/media_pipeline_host.h
+++ b/chromecast/browser/media/media_pipeline_host.h
@@ -24,6 +24,7 @@ class SingleThreadTaskRunner;
namespace media {
class AudioDecoderConfig;
+class BrowserCdm;
class VideoDecoderConfig;
}
@@ -60,7 +61,7 @@ class MediaPipelineHost {
void SetPlaybackRate(float playback_rate);
void SetVolume(TrackId track_id, float playback_rate);
- void SetCdm(int render_process_id, int render_frame_id, int cdm_id);
+ void SetCdm(::media::BrowserCdm* cdm);
void NotifyPipeWrite(TrackId track_id);
« no previous file with comments | « chromecast/browser/media/cma_message_filter_host.cc ('k') | chromecast/browser/media/media_pipeline_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698