Have GetKeyIds() return the key IDs from the first matching 'pssh' box
commit9a33878f50db3506d97d1cddc5bf5c339132b1c4
authorjrummell <jrummell@chromium.org>
Tue, 30 Jun 2015 18:53:31 +0000 (30 11:53 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 30 Jun 2015 18:54:12 +0000 (30 18:54 +0000)
treeecf9690b22dbfbd2b5b1f777ed1b28d9f75bddfa
parentcc04ed85ccb092e2cf8c361cc319713b46a70b39
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

Review URL: https://codereview.chromium.org/1199643002

Cr-Commit-Position: refs/heads/master@{#336835}
media/cdm/cenc_utils.cc
media/cdm/cenc_utils.h
media/cdm/cenc_utils_unittest.cc