Commit 844ff615 authored by Xiaohan Wang's avatar Xiaohan Wang Committed by Commit Bot

media: Remove MojoCdmService::LegacyGetCdm() declaration

This was used in AndroidVideoDecodeAccelerator previously and has been
obsolete.

Bug: 789435
Change-Id: I870507c35be3856a412217b51a325de12d5fff84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825483
Auto-Submit: Xiaohan Wang <xhwang@chromium.org>
Commit-Queue: John Rummell <jrummell@chromium.org>
Reviewed-by: default avatarJohn Rummell <jrummell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700406}
parent f3af8167
...@@ -31,17 +31,6 @@ class CdmFactory; ...@@ -31,17 +31,6 @@ class CdmFactory;
// media::ContentDecryptionModule. // media::ContentDecryptionModule.
class MEDIA_MOJO_EXPORT MojoCdmService : public mojom::ContentDecryptionModule { class MEDIA_MOJO_EXPORT MojoCdmService : public mojom::ContentDecryptionModule {
public: public:
// Get the CDM associated with |cdm_id|, which is unique per process.
// Can be called on any thread. The returned CDM is not guaranteed to be
// thread safe.
// Note: This provides a generic hack to get the CDM in the process where
// MediaService is running, regardless of which render process or
// render frame the caller is associated with. In the future, we should move
// all out-of-process media players into the MediaService so that we can use
// MojoCdmServiceContext (per render frame) to get the CDM.
static scoped_refptr<::media::ContentDecryptionModule> LegacyGetCdm(
int cdm_id);
// Constructs a MojoCdmService and strongly binds it to the |request|. // Constructs a MojoCdmService and strongly binds it to the |request|.
// - |cdm_factory| is used to create CDM instances. Must not be null. // - |cdm_factory| is used to create CDM instances. Must not be null.
// - |context| is used to keep track of all CDM instances such that we can // - |context| is used to keep track of all CDM instances such that we can
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment