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

Unified Diff: media/mojo/interfaces/media_renderer.mojom

Issue 840473002: media: Support creation and SetCdm() for mojo based CDM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: media/mojo/interfaces/media_renderer.mojom
diff --git a/media/mojo/interfaces/media_renderer.mojom b/media/mojo/interfaces/media_renderer.mojom
index 6b7e86e149b0f99c23ad80ec0719656f98bf6f43..71d01993a9163c05dd91efc3fbef81a1beb4c089 100644
--- a/media/mojo/interfaces/media_renderer.mojom
+++ b/media/mojo/interfaces/media_renderer.mojom
@@ -28,6 +28,10 @@ interface MediaRenderer {
// Sets the output volume. The default volume should be 1.
SetVolume(float volume);
+
+ // Sets the CDM to be used by the renderer. Returns whether the CDM is
+ // successfully attached.
ddorwin 2015/01/06 00:57:28 It returns the result of something that is not men
xhwang 2015/01/06 19:54:54 Done.
+ SetCdm(int32 cdm_id) => (bool success);
};
interface MediaRendererClient {

Powered by Google App Engine
This is Rietveld 408576698