summaryrefslogtreecommitdiffstats
path: root/cc/test
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-10 23:03:52 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-10 23:03:52 +0000
commita269ade545f74e075b8fff7ca5b7f2edf32369d0 (patch)
treea171f64284b80fbdb9d2a1bc688e8df5e09f9a66 /cc/test
parent4128ff9cf78c7c35c28cd0a8dbe38fb7b5703e2a (diff)
downloadchromium_src-a269ade545f74e075b8fff7ca5b7f2edf32369d0.zip
chromium_src-a269ade545f74e075b8fff7ca5b7f2edf32369d0.tar.gz
chromium_src-a269ade545f74e075b8fff7ca5b7f2edf32369d0.tar.bz2
Use integer session ID in MediaDrmBridge.
This is part of the effort to move to EME WD implementation. In Chromium, we use an integer "session ID" to track all EME MediaKeySession calls. This CL updates MediaDrmBridge to do so. Internally, we uses a ByteBuffer <-> int mapping to track MediaDrm sessions and EME session IDs. Also, we use ByteBuffer instead of String to track internal sessions. This eliminates seveval cases of UnsupportedEncodingException catching since we don't need to do byte[] <-> String conversion anymore. R=jrummell@chromium.org,qinmin@chromium.org BUG=224786 TEST=EME test pages still work on Chrome for Android. Review URL: https://codereview.chromium.org/107793002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239903 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test')
0 files changed, 0 insertions, 0 deletions