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

Issue 975983002: Update Clear Key to support keyids formatted init_data (Closed)

Created:
5 years, 9 months ago by jrummell
Modified:
5 years, 9 months ago
CC:
chromium-reviews, eme-reviews_chromium.org, 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

Update Clear Key to support keyids formatted init_data BUG=442982 TEST=media_unittests pass Committed: https://crrev.com/bbf8ee84c5969a74fd53d6c1b5ed5bd4fc831a37 Cr-Commit-Position: refs/heads/master@{#319180}

Patch Set 1 #

Total comments: 4

Patch Set 2 : truncate #

Total comments: 2

Patch Set 3 : escape non-ASCII #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -7 lines) Patch
M media/cdm/aes_decryptor.cc View 1 chunk +8 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 2 chunks +36 lines, -1 line 0 comments Download
M media/cdm/json_web_key.h View 1 chunk +8 lines, -0 lines 2 comments Download
M media/cdm/json_web_key.cc View 1 2 3 chunks +80 lines, -0 lines 0 comments Download
M media/cdm/json_web_key_unittest.cc View 1 2 2 chunks +88 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
jrummell
PTAL.
5 years, 9 months ago (2015-03-04 00:57:18 UTC) #2
sandersd (OOO until July 31)
https://codereview.chromium.org/975983002/diff/1/media/cdm/json_web_key.cc File media/cdm/json_web_key.cc (right): https://codereview.chromium.org/975983002/diff/1/media/cdm/json_web_key.cc#newcode235 media/cdm/json_web_key.cc:235: error_message->append(input); Is it wise to have arbitrarily large error ...
5 years, 9 months ago (2015-03-04 01:04:21 UTC) #3
jrummell
Updated. https://codereview.chromium.org/975983002/diff/1/media/cdm/json_web_key.cc File media/cdm/json_web_key.cc (right): https://codereview.chromium.org/975983002/diff/1/media/cdm/json_web_key.cc#newcode235 media/cdm/json_web_key.cc:235: error_message->append(input); On 2015/03/04 01:04:21, sandersd wrote: > Is ...
5 years, 9 months ago (2015-03-04 01:28:53 UTC) #4
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/975983002/diff/20001/media/cdm/json_web_key.cc File media/cdm/json_web_key.cc (right): https://codereview.chromium.org/975983002/diff/20001/media/cdm/json_web_key.cc#newcode244 media/cdm/json_web_key.cc:244: error_message->append(ShortenTo64Characters(input)); I'm not too happy with this implementation ...
5 years, 9 months ago (2015-03-04 01:39:24 UTC) #5
jrummell
Updated. https://codereview.chromium.org/975983002/diff/20001/media/cdm/json_web_key.cc File media/cdm/json_web_key.cc (right): https://codereview.chromium.org/975983002/diff/20001/media/cdm/json_web_key.cc#newcode244 media/cdm/json_web_key.cc:244: error_message->append(ShortenTo64Characters(input)); On 2015/03/04 01:39:24, sandersd wrote: > I'm ...
5 years, 9 months ago (2015-03-04 22:37:16 UTC) #6
ddorwin
key_systems needs to be updated too. https://codereview.chromium.org/975983002/diff/40001/media/cdm/json_web_key.h File media/cdm/json_web_key.h (right): https://codereview.chromium.org/975983002/diff/40001/media/cdm/json_web_key.h#newcode70 media/cdm/json_web_key.h:70: // Extracts the ...
5 years, 9 months ago (2015-03-04 22:46:52 UTC) #7
jrummell
Thanks for the reviews. I'll update key_systems when I add layout tests that actually use ...
5 years, 9 months ago (2015-03-05 00:03:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975983002/40001
5 years, 9 months ago (2015-03-05 00:04:58 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-05 00:56:30 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-05 00:57:21 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bbf8ee84c5969a74fd53d6c1b5ed5bd4fc831a37
Cr-Commit-Position: refs/heads/master@{#319180}

Powered by Google App Engine
This is Rietveld 408576698