Chromium Code Reviews| Index: webkit/media/crypto/ppapi/clear_key_cdm.h |
| diff --git a/webkit/media/crypto/ppapi/clear_key_cdm.h b/webkit/media/crypto/ppapi/clear_key_cdm.h |
| index eaad45d9b2e095ba2e765f95e410523ade03de8f..36bbca31193a0ad0e0acf107beb01d9030b8d2b5 100644 |
| --- a/webkit/media/crypto/ppapi/clear_key_cdm.h |
| +++ b/webkit/media/crypto/ppapi/clear_key_cdm.h |
| @@ -21,6 +21,8 @@ class DecoderBuffer; |
| namespace webkit_media { |
| +class CdmAllocator; |
| + |
| // Clear key implementation of the cdm::ContentDecryptionModule interface. |
| class ClearKeyCdm : public cdm::ContentDecryptionModule { |
| public: |
| @@ -28,6 +30,8 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule { |
| virtual ~ClearKeyCdm(); |
| // ContentDecryptionModule implementation. |
| + virtual bool Initialize(CdmAllocator* allocator) OVERRIDE; |
| + |
| virtual cdm::Status GenerateKeyRequest(const uint8_t* init_data, |
| int init_data_size, |
| cdm::KeyMessage* key_request) OVERRIDE; |
| @@ -97,6 +101,8 @@ class ClearKeyCdm : public cdm::ContentDecryptionModule { |
| // Protects the |client_| from being accessed by the |decryptor_| |
| // simultaneously. |
| base::Lock client_lock_; |
| + // Allocates shared memory buffers using the CDM wrapper. |
| + CdmAllocator* allocator_iface_; |
|
ddorwin
2012/09/04 09:53:15
generalize comment and remove _iface.
Tom Finegan
2012/09/07 00:46:36
Done.
|
| }; |
| } // namespace webkit_media |