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

Issue 811923002: Changes to support CDM_7 (Closed)

Created:
6 years ago by jrummell
Modified:
5 years, 11 months ago
CC:
asvitkine+watch_chromium.org, binji+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, eme-reviews_chromium.org, feature-media-reviews_chromium.org, ihf+watch_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nfullagar1, noelallen1, piman+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, tzik, xhwang, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changes to support CDM_7 Add support for CDM_7 and update Pepper to support the updated interface. Changes: - Rename CreateSession() to CreateSessionAndGenerateRequest() with reordered parameter list. - Add |session_type| to LoadSession(). - OnSessionMessage() adds |message_type|, removes |destination_url|. - OnSessionKeysChange() adds |key_information|. - Remove GetUsableKeyIds() - Remove OnPromiseResolvedWithKeyIds() - Remove OnSessionReady(). BUG=428384 TEST=existing EME test cases pass Committed: https://crrev.com/a68c98fe5d09235cdfff39176964e10ac2074a6b Cr-Commit-Position: refs/heads/master@{#310615}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Changes #

Total comments: 12

Patch Set 3 : cdm_7 changes #

Total comments: 20

Patch Set 4 : changes (plus rebase) #

Total comments: 12

Patch Set 5 : changes #

Patch Set 6 : rebase #

Patch Set 7 : pass array #

Total comments: 18

Patch Set 8 : nits + rebase #

Patch Set 9 : CrOS compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+914 lines, -982 lines) Patch
M DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -5 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 3 4 5 6 7 7 chunks +18 lines, -38 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 2 3 4 5 6 2 chunks +8 lines, -9 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 3 chunks +9 lines, -18 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.h View 1 2 3 4 5 6 7 3 chunks +101 lines, -102 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.cc View 1 2 3 4 5 6 7 8 18 chunks +194 lines, -137 lines 0 comments Download
M media/cdm/ppapi/cdm_wrapper.h View 1 2 3 4 5 6 9 chunks +76 lines, -37 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 1 2 3 4 5 6 7 1 chunk +5 lines, -2 lines 0 comments Download
M media/cdm/ppapi/supported_cdm_versions.h View 1 2 3 4 5 6 3 chunks +5 lines, -3 lines 0 comments Download
M ppapi/api/private/pp_content_decryptor.idl View 1 2 3 4 2 chunks +46 lines, -1 line 0 comments Download
M ppapi/api/private/ppb_content_decryptor_private.idl View 1 2 3 4 5 6 5 chunks +15 lines, -41 lines 0 comments Download
M ppapi/api/private/ppp_content_decryptor_private.idl View 1 2 3 4 5 chunks +16 lines, -28 lines 0 comments Download
M ppapi/c/pp_macros.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/c/private/pp_content_decryptor.h View 1 2 3 4 5 6 3 chunks +52 lines, -2 lines 0 comments Download
M ppapi/c/private/ppb_content_decryptor_private.h View 1 2 3 4 5 6 8 chunks +20 lines, -42 lines 0 comments Download
M ppapi/c/private/ppp_content_decryptor_private.h View 1 2 3 4 7 chunks +23 lines, -33 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.h View 1 2 3 4 3 chunks +10 lines, -13 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 2 3 4 5 6 8 chunks +21 lines, -66 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 11 chunks +106 lines, -126 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 6 chunks +18 lines, -24 lines 0 comments Download
M ppapi/proxy/ppapi_param_traits.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_param_traits.cc View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 1 2 3 4 5 6 3 chunks +16 lines, -23 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 1 2 3 4 5 6 7 10 chunks +34 lines, -106 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.h View 2 chunks +7 lines, -8 lines 0 comments Download
M ppapi/proxy/ppp_content_decryptor_private_proxy.cc View 8 chunks +24 lines, -69 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_content_decryptor_private_thunk.cc View 1 2 3 4 5 6 6 chunks +16 lines, -34 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 1 2 3 4 5 6 2 chunks +8 lines, -10 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (9 generated)
jrummell
PTAL.
6 years ago (2014-12-17 00:25:44 UTC) #2
ddorwin
I reviewed the interfaces and some other parts of the code. Please update then get ...
6 years ago (2014-12-17 01:01:15 UTC) #3
jrummell
Updated. https://codereview.chromium.org/811923002/diff/1/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/811923002/diff/1/content/renderer/pepper/content_decryptor_delegate.cc#newcode264 content/renderer/pepper/content_decryptor_delegate.cc:264: return PP_SESSIONTYPE_PERSISTENT_LICENSE; On 2014/12/17 01:01:14, ddorwin wrote: > ...
6 years ago (2014-12-17 19:17:19 UTC) #4
sandersd (OOO until July 31)
lgtm https://codereview.chromium.org/811923002/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/811923002/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc#newcode325 content/renderer/pepper/content_decryptor_delegate.cc:325: // TODO(jrummell): Remove |session_ready_cb| and |session_keys_change_cb|. When? https://codereview.chromium.org/811923002/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc#newcode376 ...
6 years ago (2014-12-17 21:14:07 UTC) #5
jrummell
+dmichael@ for all the Pepper code +dcheng@ for OWNERS review of ppapi/proxy/ppapi_messages.h https://codereview.chromium.org/811923002/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc ...
6 years ago (2014-12-17 22:57:40 UTC) #7
ddorwin
Interfaces LGTM with nits. Thanks. https://codereview.chromium.org/811923002/diff/40001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/811923002/diff/40001/media/cdm/ppapi/cdm_adapter.cc#newcode1278 media/cdm/ppapi/cdm_adapter.cc:1278: CDM_DLOG() << __FUNCTION__ << ...
6 years ago (2014-12-17 23:13:44 UTC) #8
jrummell
+isherman@ for OWNERS review of histogram.xml
6 years ago (2014-12-18 19:27:42 UTC) #10
jrummell
+bbudge@ for OWNERS review of pepper code since dmicheal@ is out
6 years ago (2014-12-18 20:26:21 UTC) #12
dcheng
For future reviews, it would be helpful for cleanup-only changes, such as the virtual and ...
6 years ago (2014-12-18 22:35:04 UTC) #14
Ilya Sherman
histograms.xml lgtm
6 years ago (2014-12-18 22:39:06 UTC) #15
jrummell
Updated. Sorry there is also a rebase as I needed to get the latest for ...
6 years ago (2014-12-18 23:47:59 UTC) #16
bbudge
Just a single comment. Deferring to dmichael for the ppapi review. https://codereview.chromium.org/811923002/diff/40001/ppapi/api/private/ppp_content_decryptor_private.idl File ppapi/api/private/ppp_content_decryptor_private.idl (right): ...
6 years ago (2014-12-19 18:22:52 UTC) #18
dmichael (off chromium)
Sorry for being slow. https://codereview.chromium.org/811923002/diff/40001/ppapi/c/private/pp_content_decryptor.h File ppapi/c/private/pp_content_decryptor.h (right): https://codereview.chromium.org/811923002/diff/40001/ppapi/c/private/pp_content_decryptor.h#newcode484 ppapi/c/private/pp_content_decryptor.h:484: } PP_MessageType; Could you do ...
6 years ago (2014-12-19 18:50:04 UTC) #19
jrummell
Updated. https://codereview.chromium.org/811923002/diff/40001/ppapi/api/private/ppp_content_decryptor_private.idl File ppapi/api/private/ppp_content_decryptor_private.idl (right): https://codereview.chromium.org/811923002/diff/40001/ppapi/api/private/ppp_content_decryptor_private.idl#newcode49 ppapi/api/private/ppp_content_decryptor_private.idl:49: * Creates a session. <code>init_data_type</code> contains the MIME ...
6 years ago (2014-12-20 00:23:09 UTC) #20
jrummell
rebase (and a way to get this back on everybody's schedule now that the Christmas ...
5 years, 11 months ago (2015-01-06 00:07:16 UTC) #21
dmichael (off chromium)
https://codereview.chromium.org/811923002/diff/60001/ppapi/proxy/ppb_instance_proxy.cc File ppapi/proxy/ppb_instance_proxy.cc (right): https://codereview.chromium.org/811923002/diff/60001/ppapi/proxy/ppb_instance_proxy.cc#newcode650 ppapi/proxy/ppb_instance_proxy.cc:650: serialized_key_info.push_back(serialized_info); On 2014/12/20 00:23:09, jrummell wrote: > On 2014/12/19 ...
5 years, 11 months ago (2015-01-07 23:05:50 UTC) #22
jrummell
Updated to pass an array. PTAL. Also includes a rebase. https://codereview.chromium.org/811923002/diff/60001/ppapi/proxy/ppb_instance_proxy.cc File ppapi/proxy/ppb_instance_proxy.cc (right): https://codereview.chromium.org/811923002/diff/60001/ppapi/proxy/ppb_instance_proxy.cc#newcode650 ...
5 years, 11 months ago (2015-01-08 03:12:29 UTC) #23
dmichael (off chromium)
lgtm, thanks! https://codereview.chromium.org/811923002/diff/120001/ppapi/proxy/ppapi_param_traits.cc File ppapi/proxy/ppapi_param_traits.cc (right): https://codereview.chromium.org/811923002/diff/120001/ppapi/proxy/ppapi_param_traits.cc#newcode107 ppapi/proxy/ppapi_param_traits.cc:107: WriteParam(m, p.system_code); Did you try using the ...
5 years, 11 months ago (2015-01-08 18:23:18 UTC) #24
jrummell
ping dcheng@ for OWNERS review of ppapi/proxy/ppapi_messages.h https://codereview.chromium.org/811923002/diff/120001/ppapi/proxy/ppapi_param_traits.cc File ppapi/proxy/ppapi_param_traits.cc (right): https://codereview.chromium.org/811923002/diff/120001/ppapi/proxy/ppapi_param_traits.cc#newcode107 ppapi/proxy/ppapi_param_traits.cc:107: WriteParam(m, p.system_code); ...
5 years, 11 months ago (2015-01-08 18:40:50 UTC) #25
dcheng
lgtm with comments addressed Sorry, I've been reviewing this for some time but the diff ...
5 years, 11 months ago (2015-01-08 19:12:31 UTC) #26
jrummell
Thanks for the reviews. https://codereview.chromium.org/811923002/diff/120001/media/cdm/ppapi/cdm_adapter.cc File media/cdm/ppapi/cdm_adapter.cc (right): https://codereview.chromium.org/811923002/diff/120001/media/cdm/ppapi/cdm_adapter.cc#newcode722 media/cdm/ppapi/cdm_adapter.cc:722: std::vector<uint8>(message, message + message_size))); On ...
5 years, 11 months ago (2015-01-08 20:12:12 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811923002/140001
5 years, 11 months ago (2015-01-08 20:14:35 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/12922)
5 years, 11 months ago (2015-01-08 20:56:37 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/811923002/160001
5 years, 11 months ago (2015-01-08 21:31:29 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 11 months ago (2015-01-08 22:36:35 UTC) #34
commit-bot: I haz the power
5 years, 11 months ago (2015-01-08 22:37:23 UTC) #35
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/a68c98fe5d09235cdfff39176964e10ac2074a6b
Cr-Commit-Position: refs/heads/master@{#310615}

Powered by Google App Engine
This is Rietveld 408576698