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

Issue 1926533002: Convert Widevine and Android platform key systems to KeySystemProperties (Closed)

Created:
4 years, 7 months ago by halliwell
Modified:
4 years, 7 months ago
Reviewers:
michaelbai, xhwang, sky, ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org, lcwu+watch_chromium.org, android-webview-reviews_chromium.org, halliwell+watch_chromium.org, eme-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Widevine and Android platform key systems to KeySystemProperties WidevineKeySystemProperties replaces the use of KeySystemInfo + InfoBasedKeySystemProperties for widevine (logic is essentially copied). Also updated Android platform key systems as it's simpler to convert the APIs in android_key_systems together. BUG=457438 Committed: https://crrev.com/bd92f38eb9ef9cad8e3b1d57b9d8458d44ea9e11 Cr-Commit-Position: refs/heads/master@{#390571}

Patch Set 1 #

Patch Set 2 : Few small cleanups #

Total comments: 8

Patch Set 3 : nits #

Total comments: 23

Patch Set 4 : ddorwin comments #

Patch Set 5 : fix ATV compile #

Total comments: 4

Patch Set 6 : sky nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+429 lines, -196 lines) Patch
M android_webview/renderer/aw_content_renderer_client.h View 1 chunk +3 lines, -1 line 0 comments Download
M android_webview/renderer/aw_content_renderer_client.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M android_webview/renderer/aw_key_systems.h View 1 chunk +4 lines, -2 lines 0 comments Download
M android_webview/renderer/aw_key_systems.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/media/chrome_key_systems.h View 1 2 3 4 5 1 chunk +15 lines, -2 lines 0 comments Download
M chrome/renderer/media/chrome_key_systems.cc View 1 2 3 4 5 5 chunks +20 lines, -13 lines 0 comments Download
M chromecast/renderer/cast_content_renderer_client.h View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chromecast/renderer/cast_content_renderer_client.cc View 1 2 1 chunk +8 lines, -2 lines 0 comments Download
M chromecast/renderer/key_systems_cast.h View 1 2 1 chunk +6 lines, -7 lines 0 comments Download
M chromecast/renderer/key_systems_cast.cc View 1 2 3 4 3 chunks +24 lines, -19 lines 0 comments Download
M components/cdm.gypi View 1 chunk +3 lines, -3 lines 0 comments Download
M components/cdm/renderer/BUILD.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M components/cdm/renderer/android_key_systems.h View 1 chunk +6 lines, -3 lines 0 comments Download
M components/cdm/renderer/android_key_systems.cc View 1 2 3 6 chunks +77 lines, -31 lines 0 comments Download
A components/cdm/renderer/widevine_key_system_properties.h View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A components/cdm/renderer/widevine_key_system_properties.cc View 1 chunk +176 lines, -0 lines 0 comments Download
D components/cdm/renderer/widevine_key_systems.h View 1 chunk +0 lines, -30 lines 0 comments Download
D components/cdm/renderer/widevine_key_systems.cc View 1 chunk +0 lines, -74 lines 0 comments Download
M media/base/key_system_properties.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926533002/20001
4 years, 7 months ago (2016-04-27 03:20:34 UTC) #2
halliwell
4 years, 7 months ago (2016-04-27 03:20:49 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/128404) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years, 7 months ago (2016-04-27 03:24:58 UTC) #7
xhwang
lgtm % nits https://chromiumcodereview.appspot.com/1926533002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://chromiumcodereview.appspot.com/1926533002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc#newcode1249 chrome/renderer/chrome_content_renderer_client.cc:1249: void ChromeContentRendererClient::AddSupportedKeySystems( It might be worth ...
4 years, 7 months ago (2016-04-27 19:28:39 UTC) #8
halliwell
+michaelbai for android_webview/ +sky for chrome/ https://chromiumcodereview.appspot.com/1926533002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://chromiumcodereview.appspot.com/1926533002/diff/20001/chrome/renderer/chrome_content_renderer_client.cc#newcode1249 chrome/renderer/chrome_content_renderer_client.cc:1249: void ChromeContentRendererClient::AddSupportedKeySystems( On ...
4 years, 7 months ago (2016-04-27 22:20:13 UTC) #10
michaelbai
android_webview lgtm
4 years, 7 months ago (2016-04-27 22:34:16 UTC) #11
ddorwin
https://chromiumcodereview.appspot.com/1926533002/diff/40001/chrome/renderer/media/chrome_key_systems.cc File chrome/renderer/media/chrome_key_systems.cc (right): https://chromiumcodereview.appspot.com/1926533002/diff/40001/chrome/renderer/media/chrome_key_systems.cc#newcode227 chrome/renderer/media/chrome_key_systems.cc:227: AddExternalClearKey(key_systems_info); Should we just convert ECK in this CL. ...
4 years, 7 months ago (2016-04-27 22:41:54 UTC) #13
halliwell
https://chromiumcodereview.appspot.com/1926533002/diff/40001/chrome/renderer/media/chrome_key_systems.cc File chrome/renderer/media/chrome_key_systems.cc (right): https://chromiumcodereview.appspot.com/1926533002/diff/40001/chrome/renderer/media/chrome_key_systems.cc#newcode227 chrome/renderer/media/chrome_key_systems.cc:227: AddExternalClearKey(key_systems_info); On 2016/04/27 22:41:54, ddorwin wrote: > Should we ...
4 years, 7 months ago (2016-04-27 23:50:46 UTC) #14
ddorwin
lgtm https://chromiumcodereview.appspot.com/1926533002/diff/40001/chrome/renderer/media/chrome_key_systems.cc File chrome/renderer/media/chrome_key_systems.cc (right): https://chromiumcodereview.appspot.com/1926533002/diff/40001/chrome/renderer/media/chrome_key_systems.cc#newcode227 chrome/renderer/media/chrome_key_systems.cc:227: AddExternalClearKey(key_systems_info); On 2016/04/27 23:50:45, halliwell wrote: > On ...
4 years, 7 months ago (2016-04-28 01:05:59 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926533002/60001
4 years, 7 months ago (2016-04-28 03:36:34 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/57817)
4 years, 7 months ago (2016-04-28 04:03:01 UTC) #19
sky
LGTM https://chromiumcodereview.appspot.com/1926533002/diff/80001/chrome/renderer/media/chrome_key_systems.h File chrome/renderer/media/chrome_key_systems.h (right): https://chromiumcodereview.appspot.com/1926533002/diff/80001/chrome/renderer/media/chrome_key_systems.h#newcode12 chrome/renderer/media/chrome_key_systems.h:12: #include "media/base/key_system_properties.h" nit: forward declare classes. https://chromiumcodereview.appspot.com/1926533002/diff/80001/chrome/renderer/media/chrome_key_systems.h#newcode14 chrome/renderer/media/chrome_key_systems.h:14: ...
4 years, 7 months ago (2016-04-28 15:30:09 UTC) #20
halliwell
https://chromiumcodereview.appspot.com/1926533002/diff/80001/chrome/renderer/media/chrome_key_systems.h File chrome/renderer/media/chrome_key_systems.h (right): https://chromiumcodereview.appspot.com/1926533002/diff/80001/chrome/renderer/media/chrome_key_systems.h#newcode12 chrome/renderer/media/chrome_key_systems.h:12: #include "media/base/key_system_properties.h" On 2016/04/28 15:30:09, sky wrote: > nit: ...
4 years, 7 months ago (2016-04-28 22:55:36 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926533002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926533002/100001
4 years, 7 months ago (2016-04-28 22:56:06 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/205866)
4 years, 7 months ago (2016-04-29 00:15:56 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1926533002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1926533002/100001
4 years, 7 months ago (2016-04-29 00:45:53 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-04-29 01:55:54 UTC) #30
Justin Donnelly
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/1932893004/ by jdonnelly@chromium.org. ...
4 years, 7 months ago (2016-04-29 02:41:28 UTC) #31
Justin Donnelly
On 2016/04/29 02:41:28, Justin Donnelly wrote: > A revert of this CL (patchset #6 id:100001) ...
4 years, 7 months ago (2016-04-29 02:41:51 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:23:44 UTC) #33
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/bd92f38eb9ef9cad8e3b1d57b9d8458d44ea9e11
Cr-Commit-Position: refs/heads/master@{#390571}

Powered by Google App Engine
This is Rietveld 408576698