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

Issue 813683005: Add |legacy_destination_url| back to SessionMessage for EME (Closed)

Created:
5 years, 11 months ago by jrummell
Modified:
5 years, 11 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, binji+watch_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, eme-reviews_chromium.org, feature-media-reviews_chromium.org, ihf+watch_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nfullagar1, noelallen1, piman+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, tzik, viettrungluu+watch_chromium.org, wjia+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add |legacy_destination_url| back to SessionMessage for EME Recent changes to CDM_7 removed |destination_url| as it is no longer used in the EME spec. However legacy applications using the prefixed EME API depend on it, so adding it back in so that it is available to those applications. BUG=448242 TEST=existing EME tests pass + Play movies play Committed: https://crrev.com/c842f110b2b69639b4764e85d48dd404f6de8ee4 Cr-Commit-Position: refs/heads/master@{#311371}

Patch Set 1 #

Total comments: 10

Patch Set 2 : changes + DEPS #

Total comments: 4

Patch Set 3 : changes #

Total comments: 6

Patch Set 4 : changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -110 lines) Patch
M DEPS View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/media/crypto/ppapi_decryptor.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/crypto/proxy_media_keys.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/content_decryptor_delegate.cc View 1 2 3 2 chunks +17 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M media/base/media_keys.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/blink/cdm_session_adapter.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/blink/cdm_session_adapter.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download
M media/cdm/aes_decryptor.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M media/cdm/aes_decryptor_unittest.cc View 3 chunks +13 lines, -7 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.h View 1 2 3 3 chunks +17 lines, -5 lines 0 comments Download
M media/cdm/ppapi/cdm_adapter.cc View 1 2 3 4 chunks +40 lines, -19 lines 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/cdm/ppapi/external_clear_key/clear_key_cdm.cc View 2 chunks +6 lines, -7 lines 0 comments Download
M media/cdm/proxy_decryptor.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/cdm/proxy_decryptor.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M media/mojo/interfaces/content_decryption_module.mojom View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_cdm.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_cdm.cc View 1 chunk +10 lines, -2 lines 0 comments Download
M media/mojo/services/mojo_cdm_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M media/mojo/services/mojo_cdm_service.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 4 chunks +10 lines, -5 lines 0 comments Download
M ppapi/api/private/ppb_content_decryptor_private.idl View 1 chunk +6 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_content_decryptor_private.h View 2 chunks +7 lines, -2 lines 0 comments Download
M ppapi/cpp/private/content_decryptor_private.h View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/cpp/private/content_decryptor_private.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 chunk +3 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.h View 2 chunks +8 lines, -5 lines 0 comments Download
M ppapi/proxy/ppb_instance_proxy.cc View 2 chunks +9 lines, -6 lines 0 comments Download
M ppapi/thunk/ppb_content_decryptor_private_thunk.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M ppapi/thunk/ppb_instance_api.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (3 generated)
jrummell
PTAL. Changes are basically what was removed, except had to add a struct in cdm_adapter ...
5 years, 11 months ago (2015-01-13 18:00:53 UTC) #2
xhwang
lgtm % nits https://codereview.chromium.org/813683005/diff/1/content/renderer/media/crypto/proxy_media_keys.cc File content/renderer/media/crypto/proxy_media_keys.cc (right): https://codereview.chromium.org/813683005/diff/1/content/renderer/media/crypto/proxy_media_keys.cc#newcode164 content/renderer/media/crypto/proxy_media_keys.cc:164: const GURL& destination_url) { legacy? https://codereview.chromium.org/813683005/diff/1/content/renderer/media/crypto/proxy_media_keys.cc#newcode171 ...
5 years, 11 months ago (2015-01-13 18:45:13 UTC) #3
jrummell
+dmichael@ for pepper changes +dcheng@ for ppapi/proxy/ppapi_messages.h Background: When we removed |destination_url| from the CDM ...
5 years, 11 months ago (2015-01-13 19:46:31 UTC) #5
dcheng
https://codereview.chromium.org/813683005/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/813683005/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc#newcode790 content/renderer/pepper/content_decryptor_delegate.cc:790: if (!verified_gurl.is_valid() && !verified_gurl.is_empty()) { Why check both? empty ...
5 years, 11 months ago (2015-01-13 19:57:57 UTC) #6
jrummell
Updated. https://codereview.chromium.org/813683005/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/813683005/diff/20001/content/renderer/pepper/content_decryptor_delegate.cc#newcode790 content/renderer/pepper/content_decryptor_delegate.cc:790: if (!verified_gurl.is_valid() && !verified_gurl.is_empty()) { On 2015/01/13 19:57:57, ...
5 years, 11 months ago (2015-01-13 20:31:16 UTC) #7
dcheng
lgtm for IPC changes
5 years, 11 months ago (2015-01-13 20:48:27 UTC) #8
dmichael (off chromium)
pepper stuff lgtm https://codereview.chromium.org/813683005/diff/40001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/813683005/diff/40001/content/renderer/pepper/content_decryptor_delegate.cc#newcode787 content/renderer/pepper/content_decryptor_delegate.cc:787: DCHECK(destination_url_string); How much do we trust ...
5 years, 11 months ago (2015-01-13 21:15:15 UTC) #9
jrummell
Thanks for the reviews. https://codereview.chromium.org/813683005/diff/40001/content/renderer/pepper/content_decryptor_delegate.cc File content/renderer/pepper/content_decryptor_delegate.cc (right): https://codereview.chromium.org/813683005/diff/40001/content/renderer/pepper/content_decryptor_delegate.cc#newcode787 content/renderer/pepper/content_decryptor_delegate.cc:787: DCHECK(destination_url_string); On 2015/01/13 21:15:15, dmichael ...
5 years, 11 months ago (2015-01-13 21:41:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/813683005/60001
5 years, 11 months ago (2015-01-13 22:24:12 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-14 00:35:04 UTC) #13
commit-bot: I haz the power
5 years, 11 months ago (2015-01-14 00:36:05 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c842f110b2b69639b4764e85d48dd404f6de8ee4
Cr-Commit-Position: refs/heads/master@{#311371}

Powered by Google App Engine
This is Rietveld 408576698