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

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: comments addressed/replied 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..35329dfd785873e1b95aa84d4f149e56cac6b2a8 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);
+
+ // Attaches the CDM associated with |cdm_id| to the renderer service,
ddorwin 2015/01/07 00:37:14 nit: *media* renderer? (It just looks odd when rea
+ // executing the callback with whether the CDM was successfully attached.
+ SetCdm(int32 cdm_id) => (bool success);
};
interface MediaRendererClient {

Powered by Google App Engine
This is Rietveld 408576698