| Index: Source/platform/drm/ContentDecryptionModuleSession.h
|
| diff --git a/Source/core/platform/graphics/ContentDecryptionModuleSession.h b/Source/platform/drm/ContentDecryptionModuleSession.h
|
| similarity index 92%
|
| rename from Source/core/platform/graphics/ContentDecryptionModuleSession.h
|
| rename to Source/platform/drm/ContentDecryptionModuleSession.h
|
| index 30ead6fe8baefd3374c583e4f84459ec89709721..ce8a7e824266aa22f29e3dc2b9294289589d40b2 100644
|
| --- a/Source/core/platform/graphics/ContentDecryptionModuleSession.h
|
| +++ b/Source/platform/drm/ContentDecryptionModuleSession.h
|
| @@ -31,6 +31,7 @@
|
| #ifndef ContentDecryptionModuleSession_h
|
| #define ContentDecryptionModuleSession_h
|
|
|
| +#include "platform/PlatformExport.h"
|
| #include "public/platform/WebContentDecryptionModuleSession.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| @@ -48,7 +49,7 @@ namespace WebCore {
|
|
|
| class KURL;
|
|
|
| -class ContentDecryptionModuleSessionClient {
|
| +class PLATFORM_EXPORT ContentDecryptionModuleSessionClient {
|
| public:
|
| enum MediaKeyErrorCode { UnknownError = 1, ClientError };
|
| virtual void keyAdded() = 0;
|
| @@ -56,7 +57,8 @@ public:
|
| virtual void keyMessage(const unsigned char* message, size_t messageLength, const KURL& destinationURL) = 0;
|
| };
|
|
|
| -class ContentDecryptionModuleSession : private WebKit::WebContentDecryptionModuleSession::Client {
|
| +class PLATFORM_EXPORT ContentDecryptionModuleSession : private WebKit::WebContentDecryptionModuleSession::Client {
|
| + WTF_MAKE_NONCOPYABLE(ContentDecryptionModuleSession);
|
| public:
|
| static PassOwnPtr<ContentDecryptionModuleSession> create(ContentDecryptionModuleSessionClient*);
|
|
|
|
|