Chromium Code Reviews| Index: media/crypto/aes_decryptor.cc |
| diff --git a/media/crypto/aes_decryptor.cc b/media/crypto/aes_decryptor.cc |
| index b971d4c4a20489fbb4edd796f602121bd207466c..7ea080077c50e363b701e1f6bdc926247583ed1b 100644 |
| --- a/media/crypto/aes_decryptor.cc |
| +++ b/media/crypto/aes_decryptor.cc |
| @@ -134,11 +134,13 @@ AesDecryptor::~AesDecryptor() { |
| } |
| bool AesDecryptor::GenerateKeyRequest(const std::string& key_system, |
| + const std::string& type, |
| const uint8* init_data, |
| int init_data_length) { |
| std::string session_id_string(base::UintToString(next_session_id_++)); |
| - // For now, just fire the event with the |init_data| as the request. |
| + // For now, the AesDecryptor does not care about |key_system| and |type| and |
|
ddorwin
2012/10/27 01:47:17
nit: Replace the last "and" with a period or semic
xhwang
2012/10/27 03:22:59
Done.
|
| + // just fire the event with the |init_data| as the request. |
| int message_length = init_data_length; |
| scoped_array<uint8> message(new uint8[message_length]); |
| memcpy(message.get(), init_data, message_length); |