| Index: media/base/media_keys.h
|
| diff --git a/media/base/media_keys.h b/media/base/media_keys.h
|
| index 51405545427ecc6d1afd057fbf6f731ec0070c90..58c876cb32d6856cffe8f18bf9c6ad36eacefd94 100644
|
| --- a/media/base/media_keys.h
|
| +++ b/media/base/media_keys.h
|
| @@ -14,6 +14,8 @@
|
|
|
| namespace media {
|
|
|
| +class Decryptor;
|
| +
|
| // Performs media key operations.
|
| //
|
| // All key operations are called on the renderer thread. Therefore, these calls
|
| @@ -56,6 +58,11 @@ class MEDIA_EXPORT MediaKeys {
|
| // Cancels the key request specified by |session_id|.
|
| virtual void CancelKeyRequest(const std::string& session_id) = 0;
|
|
|
| + // Gets the Decryptor object associated with the MediaKeys. Returns NULL if
|
| + // no Decryptor object is associated. The returned object is only guaranteed
|
| + // to be valid during the MediaKeys' lifetime.
|
| + virtual Decryptor* GetDecryptor();
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(MediaKeys);
|
| };
|
|
|