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

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: Fix TODO. Created 5 years, 9 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 9165a338cd80b8249bbe782b1a9322c1f868ab46..8fd40e692afe4534c8773ed4822eb05e64f4a53e 100644
--- a/media/mojo/interfaces/media_renderer.mojom
+++ b/media/mojo/interfaces/media_renderer.mojom
@@ -29,6 +29,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,
+ // 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