| Index: content/renderer/media/cdm_session_adapter.h
|
| diff --git a/content/renderer/media/cdm_session_adapter.h b/content/renderer/media/cdm_session_adapter.h
|
| index b06e6d29df84a537b9c1525eb1d9ef856d285787..3d8caac82140d0738a4efe4908ef2f5926ba9a5d 100644
|
| --- a/content/renderer/media/cdm_session_adapter.h
|
| +++ b/content/renderer/media/cdm_session_adapter.h
|
| @@ -15,17 +15,13 @@
|
| #include "media/base/media_keys.h"
|
| #include "third_party/WebKit/public/platform/WebContentDecryptionModuleSession.h"
|
|
|
| -#if defined(ENABLE_PEPPER_CDMS)
|
| -#include "content/renderer/media/crypto/pepper_cdm_wrapper.h"
|
| -#endif
|
| -
|
| class GURL;
|
|
|
| -namespace content {
|
| +namespace media {
|
| +class CdmFactory;
|
| +}
|
|
|
| -#if defined(ENABLE_BROWSER_CDMS)
|
| -class RendererCdmManager;
|
| -#endif
|
| +namespace content {
|
|
|
| class WebContentDecryptionModuleSessionImpl;
|
|
|
| @@ -38,14 +34,9 @@ class CdmSessionAdapter : public base::RefCounted<CdmSessionAdapter> {
|
| CdmSessionAdapter();
|
|
|
| // Returns true on success.
|
| - bool Initialize(
|
| -#if defined(ENABLE_PEPPER_CDMS)
|
| - const CreatePepperCdmCB& create_pepper_cdm_cb,
|
| -#elif defined(ENABLE_BROWSER_CDMS)
|
| - RendererCdmManager* manager,
|
| -#endif
|
| - const std::string& key_system,
|
| - const GURL& security_origin);
|
| + bool Initialize(const media::CdmFactory& cdm_factory,
|
| + const std::string& key_system,
|
| + const GURL& security_origin);
|
|
|
| // Provides a server certificate to be used to encrypt messages to the
|
| // license server.
|
|
|