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

Issue 79903002: Add decrypt-only external clear key browser tests. (Closed)

Created:
7 years, 1 month ago by xhwang
Modified:
7 years, 1 month ago
Reviewers:
ddorwin
CC:
chromium-reviews, yusukes+watch_chromium.org, fischman+watch_chromium.org, noelallen1, mcasas+watch_chromium.org, yzshen+watch_chromium.org, feature-media-reviews_chromium.org, teravest+watch_chromium.org, raymes+watch_chromium.org, nfullagar1, piman+watch_chromium.org, wjia+watch_chromium.org, binji, ihf+watch_chromium.org
Visibility:
Public.

Description

Add decrypt-only external clear key browser tests. These tests cover the code path where a CDM is used in decrypt-only mode. BUG=321420 TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236818

Patch Set 1 #

Total comments: 24

Patch Set 2 : comments addressed #

Patch Set 3 : comments addressed #

Patch Set 4 : rebase #

Total comments: 7

Patch Set 5 : comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -28 lines) Patch
M chrome/browser/media/encrypted_media_browsertest.cc View 1 2 3 4 7 chunks +26 lines, -14 lines 0 comments Download
M chrome/renderer/media/chrome_key_systems.cc View 1 2 chunks +9 lines, -1 line 0 comments Download
M chrome/test/data/media/encrypted_media_utils.js View 1 2 3 1 chunk +10 lines, -1 line 0 comments Download
M media/cdm/key_system_names.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M media/cdm/key_system_names.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M media/cdm/ppapi/clear_key_cdm.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M media/cdm/ppapi/clear_key_cdm.cc View 1 2 6 chunks +20 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
xhwang
After more thinking, I felt adding a new key_system is cleaner than manipulating the key. ...
7 years, 1 month ago (2013-11-20 23:54:04 UTC) #1
xhwang
This failing test will be fixed in: https://codereview.chromium.org/78003005/
7 years, 1 month ago (2013-11-21 01:19:39 UTC) #2
ddorwin
minor stuff https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode37 chrome/browser/media/encrypted_media_browsertest.cc:37: const char kDecryptOnlyExternalClearKeyKeySystem[] = Start with a ...
7 years, 1 month ago (2013-11-21 04:10:58 UTC) #3
xhwang
comments addressed
7 years, 1 month ago (2013-11-22 01:44:28 UTC) #4
xhwang
PTAL again. https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode37 chrome/browser/media/encrypted_media_browsertest.cc:37: const char kDecryptOnlyExternalClearKeyKeySystem[] = On 2013/11/21 04:10:58, ...
7 years, 1 month ago (2013-11-22 01:47:36 UTC) #5
ddorwin
lgtm https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc#newcode77 chrome/browser/media/encrypted_media_browsertest.cc:77: key_system == kDecryptOnlyExternalClearKeyKeySystem; On 2013/11/22 01:47:36, xhwang wrote: ...
7 years, 1 month ago (2013-11-22 04:28:58 UTC) #6
xhwang
ddorwin: I pulled key_system_names.h so that I don't need to redefine IsExternalClearKey(). PTAL again. https://codereview.chromium.org/79903002/diff/1/chrome/browser/media/encrypted_media_browsertest.cc ...
7 years, 1 month ago (2013-11-22 07:44:26 UTC) #7
ddorwin
https://codereview.chromium.org/79903002/diff/310001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/79903002/diff/310001/chrome/browser/media/encrypted_media_browsertest.cc#newcode14 chrome/browser/media/encrypted_media_browsertest.cc:14: #include "media/cdm/key_system_names.h" On 2013/11/22 07:44:26, xhwang wrote: > We ...
7 years, 1 month ago (2013-11-22 18:04:00 UTC) #8
xhwang
comments addressed
7 years, 1 month ago (2013-11-22 18:16:49 UTC) #9
xhwang
PTAL again. https://codereview.chromium.org/79903002/diff/310001/chrome/browser/media/encrypted_media_browsertest.cc File chrome/browser/media/encrypted_media_browsertest.cc (right): https://codereview.chromium.org/79903002/diff/310001/chrome/browser/media/encrypted_media_browsertest.cc#newcode14 chrome/browser/media/encrypted_media_browsertest.cc:14: #include "media/cdm/key_system_names.h" On 2013/11/22 18:04:01, ddorwin wrote: ...
7 years, 1 month ago (2013-11-22 18:18:22 UTC) #10
ddorwin
lgtm Thanks.
7 years, 1 month ago (2013-11-22 18:27:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xhwang@chromium.org/79903002/490001
7 years, 1 month ago (2013-11-22 18:28:20 UTC) #12
commit-bot: I haz the power
7 years, 1 month ago (2013-11-22 20:31:37 UTC) #13
Message was sent while issue was closed.
Change committed as 236818

Powered by Google App Engine
This is Rietveld 408576698