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

Issue 2108033002: EME: Clear Key CDM now generates keystatuseschange event on close() (Closed)

Created:
4 years, 5 months ago by jrummell
Modified:
4 years, 5 months ago
Reviewers:
ddorwin
CC:
chromium-reviews, blink-reviews, eme-reviews_chromium.org, mlamouri+watch-blink_chromium.org, eric.carlson_apple.com, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

EME: Clear Key CDM now generates keystatuseschange event on close() EME spec requires a CDM to generate a keystatuseschange event when close() is called (as any available keys for that session are now gone). This updates the Clear Key CDM to generate the required event. BUG=622956 TEST=updated EME tests passes Committed: https://crrev.com/7166975fdb70c379be724825394c20c01e606606 Cr-Commit-Position: refs/heads/master@{#403595}

Patch Set 1 #

Total comments: 4

Patch Set 2 : update unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -2 lines) Patch
M media/cdm/aes_decryptor.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-keystatuses.html View 3 chunks +23 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
jrummell
PTAL.
4 years, 5 months ago (2016-06-29 00:13:57 UTC) #2
ddorwin
LGTM with comments. Please make the order match the spec. https://codereview.chromium.org/2108033002/diff/1/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/2108033002/diff/1/media/cdm/aes_decryptor.cc#newcode413 ...
4 years, 5 months ago (2016-06-30 06:51:24 UTC) #3
jrummell
Updated, and a question on switching to PostTask. https://codereview.chromium.org/2108033002/diff/1/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/2108033002/diff/1/media/cdm/aes_decryptor.cc#newcode413 media/cdm/aes_decryptor.cc:413: promise->resolve(); ...
4 years, 5 months ago (2016-07-01 00:01:22 UTC) #4
ddorwin
LGTM. I'm not sure that Chrome tasks guarantee the same behavior as Blink tasks. We'll ...
4 years, 5 months ago (2016-07-02 00:24:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2108033002/20001
4 years, 5 months ago (2016-07-02 00:25:03 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-02 02:39:09 UTC) #8
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-02 02:39:12 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-02 02:41:18 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7166975fdb70c379be724825394c20c01e606606
Cr-Commit-Position: refs/heads/master@{#403595}

Powered by Google App Engine
This is Rietveld 408576698