Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Issue 11434025: Encrypted Media: Handle empty init_data in AesDecryptor::GenerateKeyRequest(). (Closed)

Created:
8 years ago by xhwang
Modified:
8 years ago
Reviewers:
ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Encrypted Media: Handle empty init_data in AesDecryptor::GenerateKeyRequest(). Based on the EME spec, init_data is optional in GenerateKeyRequest(). Update AesDecryptor to support this. BUG=162759 TEST=added test in AesDecryptorTest to test this case. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170424

Patch Set 1 #

Total comments: 5

Patch Set 2 : remove KeyMessage in AesDecryptor::GKR() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -9 lines) Patch
M media/crypto/aes_decryptor.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M media/crypto/aes_decryptor_unittest.cc View 1 7 chunks +13 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
xhwang
PTAL!
8 years ago (2012-11-29 08:52:12 UTC) #1
ddorwin
LGTM % question and nit. https://codereview.chromium.org/11434025/diff/1/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): https://codereview.chromium.org/11434025/diff/1/media/crypto/aes_decryptor.cc#newcode143 media/crypto/aes_decryptor.cc:143: DVLOG(1) << "Could not ...
8 years ago (2012-11-29 17:55:08 UTC) #2
xhwang
PTAL! Now if init_data is NULL in GKR(), if we use the plugin, we get ...
8 years ago (2012-11-29 20:34:36 UTC) #3
ddorwin
https://codereview.chromium.org/11434025/diff/1/media/crypto/aes_decryptor.cc File media/crypto/aes_decryptor.cc (right): https://codereview.chromium.org/11434025/diff/1/media/crypto/aes_decryptor.cc#newcode145 media/crypto/aes_decryptor.cc:145: return false; On 2012/11/29 20:34:37, xhwang wrote: > On ...
8 years ago (2012-11-29 22:19:01 UTC) #4
xhwang
On 2012/11/29 22:19:01, ddorwin wrote: > https://codereview.chromium.org/11434025/diff/1/media/crypto/aes_decryptor.cc > File media/crypto/aes_decryptor.cc (right): > > https://codereview.chromium.org/11434025/diff/1/media/crypto/aes_decryptor.cc#newcode145 > ...
8 years ago (2012-11-30 04:55:39 UTC) #5
xhwang
8 years ago (2012-11-30 04:55:47 UTC) #6
ddorwin
LGTM. Please file a low priority bug to ensure behavior is the same in internal ...
8 years ago (2012-11-30 05:08:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/11434025/11001
8 years ago (2012-11-30 06:31:30 UTC) #8
xhwang
On 2012/11/30 05:08:58, ddorwin wrote: > LGTM. Please file a low priority bug to ensure ...
8 years ago (2012-11-30 06:38:48 UTC) #9
commit-bot: I haz the power
8 years ago (2012-11-30 08:31:39 UTC) #10
Message was sent while issue was closed.
Change committed as 170424

Powered by Google App Engine
This is Rietveld 408576698