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

Issue 1199643002: Have GetKeyIds() return the key IDs from the first matching 'pssh' box (Closed)

Created:
5 years, 6 months ago by jrummell
Modified:
5 years, 5 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

Have GetKeyIds() return the key IDs from the first matching 'pssh' box Rather than returning the key IDs from all matching 'pssh' boxes, only return the key IDs from the first matching one. Also rename GetKeyIdsForCommonSystemId() to GetKeyIds() and make it support any system identifier. BUG= TEST=updated tests pass Committed: https://crrev.com/9a33878f50db3506d97d1cddc5bf5c339132b1c4 Cr-Commit-Position: refs/heads/master@{#336835}

Patch Set 1 #

Total comments: 4

Patch Set 2 : different systemid #

Patch Set 3 : new test #

Total comments: 18

Patch Set 4 : changes #

Total comments: 4

Patch Set 5 : back to GetKeyIdsForCommonSystemId #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -40 lines) Patch
M media/cdm/cenc_utils.h View 1 2 3 4 1 chunk +15 lines, -9 lines 0 comments Download
M media/cdm/cenc_utils.cc View 1 2 3 4 2 chunks +28 lines, -21 lines 0 comments Download
M media/cdm/cenc_utils_unittest.cc View 1 2 3 4 2 chunks +4 lines, -10 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
jrummell
PTAL.
5 years, 6 months ago (2015-06-20 01:37:01 UTC) #2
sandersd (OOO until July 31)
https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc File media/cdm/cenc_utils_unittest.cc (right): https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc#newcode184 media/cdm/cenc_utils_unittest.cc:184: GetKeyIds(std::vector<uint8_t>(), CommonSystemSystemId(), &key_ids)); Add a test using a different ...
5 years, 6 months ago (2015-06-22 20:17:20 UTC) #3
jrummell
Updated test. https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc File media/cdm/cenc_utils_unittest.cc (right): https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc#newcode184 media/cdm/cenc_utils_unittest.cc:184: GetKeyIds(std::vector<uint8_t>(), CommonSystemSystemId(), &key_ids)); On 2015/06/22 20:17:20, sandersd ...
5 years, 6 months ago (2015-06-22 21:01:18 UTC) #4
sandersd (OOO until July 31)
https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc File media/cdm/cenc_utils_unittest.cc (right): https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc#newcode184 media/cdm/cenc_utils_unittest.cc:184: GetKeyIds(std::vector<uint8_t>(), CommonSystemSystemId(), &key_ids)); On 2015/06/22 21:01:18, jrummell wrote: > ...
5 years, 6 months ago (2015-06-22 22:23:29 UTC) #5
jrummell
Added new test. https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc File media/cdm/cenc_utils_unittest.cc (right): https://codereview.chromium.org/1199643002/diff/1/media/cdm/cenc_utils_unittest.cc#newcode184 media/cdm/cenc_utils_unittest.cc:184: GetKeyIds(std::vector<uint8_t>(), CommonSystemSystemId(), &key_ids)); On 2015/06/22 22:23:29, ...
5 years, 6 months ago (2015-06-24 00:18:47 UTC) #7
sandersd (OOO until July 31)
lgtm
5 years, 6 months ago (2015-06-24 00:49:10 UTC) #8
ddorwin
High-level review. https://codereview.chromium.org/1199643002/diff/60001/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/1199643002/diff/60001/media/cdm/aes_decryptor.cc#newcode32 media/cdm/aes_decryptor.cc:32: const uint8_t kCommonSystemId[] = {0x10, 0x77, 0xef, ...
5 years, 6 months ago (2015-06-25 21:18:12 UTC) #9
jrummell
Updated. https://codereview.chromium.org/1199643002/diff/60001/media/cdm/aes_decryptor.cc File media/cdm/aes_decryptor.cc (right): https://codereview.chromium.org/1199643002/diff/60001/media/cdm/aes_decryptor.cc#newcode32 media/cdm/aes_decryptor.cc:32: const uint8_t kCommonSystemId[] = {0x10, 0x77, 0xef, 0xec, ...
5 years, 6 months ago (2015-06-25 22:35:59 UTC) #10
ddorwin
See reply in previous PS. https://codereview.chromium.org/1199643002/diff/60001/media/cdm/cenc_utils.cc File media/cdm/cenc_utils.cc (right): https://codereview.chromium.org/1199643002/diff/60001/media/cdm/cenc_utils.cc#newcode67 media/cdm/cenc_utils.cc:67: const std::vector<uint8_t>& system_id, On ...
5 years, 6 months ago (2015-06-25 22:49:23 UTC) #11
jrummell
Updated. https://codereview.chromium.org/1199643002/diff/60001/media/cdm/cenc_utils.cc File media/cdm/cenc_utils.cc (right): https://codereview.chromium.org/1199643002/diff/60001/media/cdm/cenc_utils.cc#newcode67 media/cdm/cenc_utils.cc:67: const std::vector<uint8_t>& system_id, On 2015/06/25 22:49:23, ddorwin wrote: ...
5 years, 5 months ago (2015-06-30 00:49:12 UTC) #12
ddorwin
lgtm
5 years, 5 months ago (2015-06-30 02:30:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1199643002/100001
5 years, 5 months ago (2015-06-30 17:43:25 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 5 months ago (2015-06-30 18:53:44 UTC) #17
commit-bot: I haz the power
5 years, 5 months ago (2015-06-30 18:54:43 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/9a33878f50db3506d97d1cddc5bf5c339132b1c4
Cr-Commit-Position: refs/heads/master@{#336835}

Powered by Google App Engine
This is Rietveld 408576698