Chromium Code Reviews| Index: ppapi/cpp/private/content_decryptor_private.h |
| diff --git a/ppapi/cpp/private/content_decryptor_private.h b/ppapi/cpp/private/content_decryptor_private.h |
| index 477c6de5c25e23ad85a72794a19fd5e1d7305a4c..262fb3332e48f4a2769e0e77915446338c1f189d 100644 |
| --- a/ppapi/cpp/private/content_decryptor_private.h |
| +++ b/ppapi/cpp/private/content_decryptor_private.h |
| @@ -31,8 +31,9 @@ class ContentDecryptor_Private { |
| // TODO(tomfinegan): This could be optimized to pass pp::Var instead of |
| // strings. The change would allow the CDM wrapper to reuse vars when |
| // replying to the browser. |
| - virtual void GenerateKeyRequest(const std::string& key_system, |
| - const std::string& type, |
| + virtual void Initialize(const std::string& key_system, |
| + const bool can_challenge_platform) = 0; |
|
ddorwin
2013/09/19 00:58:42
no const
jrummell
2013/09/19 18:15:15
Done.
|
| + virtual void GenerateKeyRequest(const std::string& type, |
| pp::VarArrayBuffer init_data) = 0; |
| virtual void AddKey(const std::string& session_id, |
| pp::VarArrayBuffer key, |
| @@ -58,9 +59,6 @@ class ContentDecryptor_Private { |
| // PPB_ContentDecryptor_Private methods for passing data from the decryptor |
| // to the browser. |
| - void NeedKey(const std::string& key_system, |
| - const std::string& session_id, |
| - pp::VarArrayBuffer init_data); |
| void KeyAdded(const std::string& key_system, |
| const std::string& session_id); |
| void KeyMessage(const std::string& key_system, |