Chromium Code Reviews| Index: media/cdm/aes_decryptor.cc |
| diff --git a/media/cdm/aes_decryptor.cc b/media/cdm/aes_decryptor.cc |
| index c682e026c83d7bc96f63faae3d1acfceeb87a1fb..94899df8f69a5ba27891c011daabe42a8c7e3865 100644 |
| --- a/media/cdm/aes_decryptor.cc |
| +++ b/media/cdm/aes_decryptor.cc |
| @@ -231,7 +231,7 @@ AesDecryptor::~AesDecryptor() { |
| } |
| bool AesDecryptor::CreateSession(uint32 session_id, |
| - const std::string& type, |
| + const std::string& content_type, |
| const uint8* init_data, |
| int init_data_length) { |
| // Validate that this is a new session. |
| @@ -240,7 +240,7 @@ bool AesDecryptor::CreateSession(uint32 session_id, |
| std::string web_session_id_string(base::UintToString(next_web_session_id_++)); |
| - // For now, the AesDecryptor does not care about |type|; |
| + // For now, the AesDecryptor does not care about |content_type|; |
| // just fire the event with the |init_data| as the request. |
| std::vector<uint8> message; |
| if (init_data && init_data_length) |
| @@ -251,6 +251,12 @@ bool AesDecryptor::CreateSession(uint32 session_id, |
| return true; |
| } |
| +bool AesDecryptor::LoadSession(uint32 session_id, |
| + const std::string& web_session_id) { |
| + session_error_cb_.Run(session_id, MediaKeys::kUnknownError, 0); |
|
ddorwin
2014/02/10 19:05:25
I don't think we need this error. For prefixed, we
xhwang
2014/02/10 22:30:55
Done.
|
| + return false; |
| +} |
| + |
| void AesDecryptor::UpdateSession(uint32 session_id, |
| const uint8* response, |
| int response_length) { |