| Index: media/remoting/remoting_cdm_context.h
|
| diff --git a/media/remoting/remoting_cdm_context.h b/media/remoting/remoting_cdm_context.h
|
| index f7c3284d1baccaac47d7c380915b41db34e3f4bf..bcf16c4b7a41f34d629080dc3111bdfb794b3afc 100644
|
| --- a/media/remoting/remoting_cdm_context.h
|
| +++ b/media/remoting/remoting_cdm_context.h
|
| @@ -8,11 +8,13 @@
|
| #include "media/base/cdm_context.h"
|
|
|
| namespace media {
|
| +namespace remoting {
|
|
|
| class RemotingCdm;
|
| -class RemotingSourceImpl;
|
|
|
| // TODO(xjz): Merge this with erickung's implementation.
|
| +// TODO(miu): This class should just be merged into RemotingCdm and implement
|
| +// both the CDM and CdmContext interfaces.
|
| class RemotingCdmContext : public CdmContext {
|
| public:
|
| explicit RemotingCdmContext(RemotingCdm* remoting_cdm);
|
| @@ -22,7 +24,7 @@ class RemotingCdmContext : public CdmContext {
|
| // pointer to it. Otherwise, return nullptr.
|
| static RemotingCdmContext* From(CdmContext* cdm_context);
|
|
|
| - RemotingSourceImpl* GetRemotingSource();
|
| + RemotingCdm* cdm() const { return remoting_cdm_; }
|
|
|
| // CdmContext implementations.
|
| Decryptor* GetDecryptor() override;
|
| @@ -35,6 +37,7 @@ class RemotingCdmContext : public CdmContext {
|
| DISALLOW_COPY_AND_ASSIGN(RemotingCdmContext);
|
| };
|
|
|
| +} // namespace remoting
|
| } // namespace media
|
|
|
| #endif // MEDIA_REMOTING_REMOTING_CDM_CONTEXT_H_
|
|
|