Chromium Code Reviews| Index: media/base/media_keys.h |
| diff --git a/media/base/media_keys.h b/media/base/media_keys.h |
| index bdc41c5a4d784b0dc0550aba0265417e83054085..20beffd5ed7bbc8ca2f6e5648a700c55c48afd75 100644 |
| --- a/media/base/media_keys.h |
| +++ b/media/base/media_keys.h |
| @@ -21,12 +21,14 @@ class Time; |
| namespace media { |
| class CdmContext; |
| +class CdmKeyInformation; |
| template <typename... T> |
| class CdmPromiseTemplate; |
| typedef CdmPromiseTemplate<std::string> NewSessionCdmPromise; |
| typedef CdmPromiseTemplate<> SimpleCdmPromise; |
| +typedef std::vector<CdmKeyInformation> CdmKeyInformationVector; |
|
xhwang
2015/01/02 21:55:07
Throughout this CL, how about
s/CdmKeyInformationV
xhwang
2015/01/02 21:55:07
Is it worth using ScopedVector here? If not, add a
jrummell
2015/01/05 22:17:59
Done.
jrummell
2015/01/05 22:17:59
Done.
|
| // Performs media key operations. |
| // |
| @@ -136,7 +138,8 @@ typedef base::Callback<void(const std::string& web_session_id, |
| const std::string& error_message)> SessionErrorCB; |
| typedef base::Callback<void(const std::string& web_session_id, |
| - bool has_additional_usable_key)> |
| + bool has_additional_usable_key, |
| + const CdmKeyInformationVector& key_information)> |
| SessionKeysChangeCB; |
| typedef base::Callback<void(const std::string& web_session_id, |