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

Issue 446693004: Add support for CDM_6. (Closed)

Created:
6 years, 4 months ago by jrummell
Modified:
6 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, yusukes+watch_chromium.org, tzik, binji+watch_chromium.org, raymes+watch_chromium.org, eme-reviews_chromium.org, teravest+watch_chromium.org, nfullagar1, piman+watch_chromium.org, noelallen1, ihf+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add support for CDM_6. Changes for CDM_6: - ReleaseSession() becomes CloseSession() - add RemoveSession() - add GetUsableKeyIds() - simulate UsableKeysChanged event for older CDMs BUG=358271, 351139 TEST=encrypted-media layout tests and browser_tests for encrypted media pass Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288295

Patch Set 1 #

Total comments: 37

Patch Set 2 : reorder #

Patch Set 3 : InputBuffer changes #

Total comments: 6

Patch Set 4 : DEPS #

Total comments: 4

Patch Set 5 : Add comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -40 lines) Patch
M DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/cdm/ppapi/cdm_adapter.h View 1 2 3 7 chunks +32 lines, -5 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.cc View 1 9 chunks +98 lines, -11 lines 0 comments Download
M media/cdm/ppapi/cdm_wrapper.h View 1 2 3 4 10 chunks +231 lines, -10 lines 1 comment Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 1 2 5 chunks +6 lines, -7 lines 0 comments Download
M media/cdm/ppapi/supported_cdm_versions.h View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
jrummell
PTAL.
6 years, 4 months ago (2014-08-06 22:45:29 UTC) #1
ddorwin
Thanks. https://codereview.chromium.org/446693004/diff/1/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/446693004/diff/1/media/cdm/ppapi/cdm_adapter.cc#newcode391 media/cdm/ppapi/cdm_adapter.cc:391: RejectPromise(promise_id, cdm::kNotSupportedError, 0, "Not supported."); Maybe "Not implemented." ...
6 years, 4 months ago (2014-08-07 01:34:44 UTC) #2
jrummell
Updated. Should I change DEPS to include https://codereview.chromium.org/120813004? https://codereview.chromium.org/446693004/diff/1/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/446693004/diff/1/media/cdm/ppapi/cdm_adapter.cc#newcode391 media/cdm/ppapi/cdm_adapter.cc:391: RejectPromise(promise_id, ...
6 years, 4 months ago (2014-08-07 20:44:31 UTC) #3
jrummell
Updated to include InputBuffer changes.
6 years, 4 months ago (2014-08-07 21:40:40 UTC) #4
ddorwin
LGTM https://codereview.chromium.org/446693004/diff/1/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/446693004/diff/1/media/cdm/ppapi/cdm_adapter.cc#newcode391 media/cdm/ppapi/cdm_adapter.cc:391: RejectPromise(promise_id, cdm::kNotSupportedError, 0, "Not supported."); On 2014/08/07 20:44:30, ...
6 years, 4 months ago (2014-08-07 22:10:43 UTC) #5
jrummell
Updated with latest CDM_6 in DEPS. https://codereview.chromium.org/446693004/diff/40001/media/cdm/ppapi/cdm_adapter.h File media/cdm/ppapi/cdm_adapter.h (right): https://codereview.chromium.org/446693004/diff/40001/media/cdm/ppapi/cdm_adapter.h#newcode96 media/cdm/ppapi/cdm_adapter.h:96: // cdm::Host_4 and ...
6 years, 4 months ago (2014-08-08 00:15:08 UTC) #6
ddorwin
lgtm
6 years, 4 months ago (2014-08-08 00:33:02 UTC) #7
xhwang
lgtm https://codereview.chromium.org/446693004/diff/60001/media/cdm/ppapi/cdm_adapter.h File media/cdm/ppapi/cdm_adapter.h (right): https://codereview.chromium.org/446693004/diff/60001/media/cdm/ppapi/cdm_adapter.h#newcode205 media/cdm/ppapi/cdm_adapter.h:205: const std::string& web_session_id); Do we have a bug/TODO ...
6 years, 4 months ago (2014-08-08 00:47:58 UTC) #8
jrummell
Thanks for the reviews. https://codereview.chromium.org/446693004/diff/60001/media/cdm/ppapi/cdm_adapter.h File media/cdm/ppapi/cdm_adapter.h (right): https://codereview.chromium.org/446693004/diff/60001/media/cdm/ppapi/cdm_adapter.h#newcode205 media/cdm/ppapi/cdm_adapter.h:205: const std::string& web_session_id); On 2014/08/08 ...
6 years, 4 months ago (2014-08-08 01:13:17 UTC) #9
jrummell
The CQ bit was checked by jrummell@chromium.org
6 years, 4 months ago (2014-08-08 01:13:25 UTC) #10
ddorwin
https://codereview.chromium.org/446693004/diff/80001/media/cdm/ppapi/cdm_wrapper.h File media/cdm/ppapi/cdm_wrapper.h (right): https://codereview.chromium.org/446693004/diff/80001/media/cdm/ppapi/cdm_wrapper.h#newcode113 media/cdm/ppapi/cdm_wrapper.h:113: virtual bool SessionUsableKeysEventNeeded(uint32_t promise_id, nit: Is...
6 years, 4 months ago (2014-08-08 01:16:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jrummell@chromium.org/446693004/80001
6 years, 4 months ago (2014-08-08 01:19:45 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-08 04:36:39 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 10:07:22 UTC) #14
Message was sent while issue was closed.
Change committed as 288295

Powered by Google App Engine
This is Rietveld 408576698