| 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..dabcd00d027f6858acaff7fa5df1aca8ec0b2003 100644
|
| --- a/ppapi/cpp/private/content_decryptor_private.h
|
| +++ b/ppapi/cpp/private/content_decryptor_private.h
|
| @@ -31,8 +31,8 @@ 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) = 0;
|
| + 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 +58,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,
|
|
|