| Index: Source/platform/drm/ContentDecryptionModuleSession.h
|
| diff --git a/Source/core/platform/graphics/ContentDecryptionModuleSession.h b/Source/platform/drm/ContentDecryptionModuleSession.h
|
| similarity index 93%
|
| rename from Source/core/platform/graphics/ContentDecryptionModuleSession.h
|
| rename to Source/platform/drm/ContentDecryptionModuleSession.h
|
| index 30ead6fe8baefd3374c583e4f84459ec89709721..1a7ffe7facd765a9c865085b047cd2082e2fed0e 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,7 @@ 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 : BLINK_NON_EXPORTED_BASE(private WebKit::WebContentDecryptionModuleSession::Client) {
|
| public:
|
| static PassOwnPtr<ContentDecryptionModuleSession> create(ContentDecryptionModuleSessionClient*);
|
|
|
|
|