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

Issue 427993002: Implement ClearKey message format as JSON. (Closed)

Created:
6 years, 4 months ago by jrummell
Modified:
6 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, eme-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Implement ClearKey message format as JSON. The EME-WD specification now describes the format of the license request provided to the application via the message attribute of the message event as being JSON formatted. This change updates the ClearKey implmentation to return the JSON formatted attribute. For backwards compatibility with the prefixed EME implementation, the old format (single key id as Uint8Array) is still used for any prefixed calls. BUG=358271 TEST=Updated EME layout tests pass Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290669

Patch Set 1 #

Total comments: 26

Patch Set 2 : Updates #

Total comments: 4

Patch Set 3 : nits #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -19 lines) Patch
M content/renderer/media/crypto/proxy_decryptor.cc View 1 2 3 1 chunk +11 lines, -0 lines 0 comments Download
M media/cdm/aes_decryptor.cc View 1 2 3 2 chunks +4 lines, -3 lines 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 1 2 3 4 chunks +11 lines, -2 lines 0 comments Download
M media/cdm/json_web_key.h View 1 2 chunks +45 lines, -7 lines 0 comments Download
M media/cdm/json_web_key.cc View 1 2 4 chunks +101 lines, -2 lines 0 comments Download
M media/cdm/json_web_key_unittest.cc View 1 2 chunks +136 lines, -1 line 0 comments Download
M media/test/data/eme_player_js/clearkey_player.js View 1 chunk +1 line, -1 line 0 comments Download
M media/test/data/eme_player_js/prefixed_clearkey_player.js View 1 chunk +1 line, -1 line 0 comments Download
M media/test/data/eme_player_js/utils.js View 1 2 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jrummell
PTAL. Changes in https://codereview.chromium.org/429033003/ need to be submitted first so the tests continue to succeed.
6 years, 4 months ago (2014-07-29 23:25:31 UTC) #1
xhwang
https://codereview.chromium.org/427993002/diff/1/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/427993002/diff/1/media/cdm/aes_decryptor.cc#newcode244 media/cdm/aes_decryptor.cc:244: // with the |init_data| as the license request. Is ...
6 years, 4 months ago (2014-07-30 05:56:08 UTC) #2
jrummell
Updated. https://codereview.chromium.org/427993002/diff/1/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/427993002/diff/1/media/cdm/aes_decryptor.cc#newcode244 media/cdm/aes_decryptor.cc:244: // with the |init_data| as the license request. ...
6 years, 4 months ago (2014-07-30 18:44:16 UTC) #3
xhwang
lgtm % nits https://codereview.chromium.org/427993002/diff/20001/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/427993002/diff/20001/media/cdm/aes_decryptor.cc#newcode244 media/cdm/aes_decryptor.cc:244: // using the |init_data| as the ...
6 years, 4 months ago (2014-08-08 20:31:12 UTC) #4
jrummell
Updated. https://codereview.chromium.org/427993002/diff/20001/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/427993002/diff/20001/media/cdm/aes_decryptor.cc#newcode244 media/cdm/aes_decryptor.cc:244: // using the |init_data| as the key id ...
6 years, 4 months ago (2014-08-09 00:14:17 UTC) #5
jrummell
The CQ bit was checked by jrummell@chromium.org
6 years, 4 months ago (2014-08-19 18:39:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jrummell@chromium.org/427993002/80001
6 years, 4 months ago (2014-08-19 18:40:11 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-19 20:10:59 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-19 21:43:44 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (80001) as 290669

Powered by Google App Engine
This is Rietveld 408576698