| Index: content_decryption_module.h
|
| diff --git a/content_decryption_module.h b/content_decryption_module.h
|
| index 28be27b88813893270777d2552c78bfaf976feb1..9046ad2a6d09c4dcac9a85b39b70a569f4cf9371 100644
|
| --- a/content_decryption_module.h
|
| +++ b/content_decryption_module.h
|
| @@ -26,7 +26,7 @@ typedef __int64 int64_t;
|
|
|
| #else // defined(WIN32)
|
|
|
| -#if defined(CDM_IMPLEMENTATION)
|
| +#if defined(CDM_IMPLEMENTATION) || defined(UNDEFINED_SANITIZER)
|
| #define CDM_EXPORT __attribute__((visibility("default")))
|
| #else
|
| #define CDM_EXPORT
|
| @@ -644,7 +644,7 @@ class ContentDecryptionModule_7 {
|
| // provided in CreateCdmInstance() to allocate any Buffer that needs to
|
| // be passed back to the caller. Implementations must call Buffer::Destroy()
|
| // when a Buffer is created that will never be returned to the caller.
|
| -class ContentDecryptionModule_8 {
|
| +class CDM_EXPORT ContentDecryptionModule_8 {
|
| public:
|
| static const int kVersion = 8;
|
| typedef Host_8 Host;
|
| @@ -829,7 +829,7 @@ class ContentDecryptionModule_8 {
|
| typedef ContentDecryptionModule_8 ContentDecryptionModule;
|
|
|
| // Represents a buffer created by Allocator implementations.
|
| -class Buffer {
|
| +class CDM_EXPORT Buffer {
|
| public:
|
| // Destroys the buffer in the same context as it was created.
|
| virtual void Destroy() = 0;
|
| @@ -985,7 +985,7 @@ class Host_7 {
|
| virtual ~Host_7() {}
|
| };
|
|
|
| -class Host_8 {
|
| +class CDM_EXPORT Host_8 {
|
| public:
|
| static const int kVersion = 8;
|
|
|
| @@ -1123,7 +1123,7 @@ class Host_8 {
|
| };
|
|
|
| // Represents a decrypted block that has not been decoded.
|
| -class DecryptedBlock {
|
| +class CDM_EXPORT DecryptedBlock {
|
| public:
|
| virtual void SetDecryptedBuffer(Buffer* buffer) = 0;
|
| virtual Buffer* DecryptedBuffer() = 0;
|
|
|