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

Issue 1005903003: Implement robustness strings in requestMediaKeySystemAccess(). (Closed)

Created:
5 years, 9 months ago by sandersd (OOO until July 31)
Modified:
5 years, 9 months ago
Reviewers:
lcwu1, jrummell, ddorwin, gunsch
CC:
chromium-reviews, eme-reviews_chromium.org, feature-media-reviews_chromium.org, lcwu1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement robustness strings in requestMediaKeySystemAccess(). BUG=442586, 460616 Committed: https://crrev.com/a8a9143d9373e1ae47f30d3da14c051d16188b3e Cr-Commit-Position: refs/heads/master@{#322219}

Patch Set 1 #

Total comments: 17

Patch Set 2 : #

Patch Set 3 : Rename all the things. #

Total comments: 80

Patch Set 4 : Make distinctiveIdentifier and permission equivalent. #

Patch Set 5 : Clarify CrOS Widevine robustness rules. #

Total comments: 14

Patch Set 6 : Rename PERMISSION to IDENTIFIER. #

Total comments: 20

Patch Set 7 : Update key system registration. #

Patch Set 8 : Improve comments. #

Total comments: 8

Patch Set 9 : #

Patch Set 10 : Change parameter names. #

Total comments: 9

Patch Set 11 : Move ConvertRobustness() into KeySystems. #

Total comments: 2

Patch Set 12 : #

Patch Set 13 : Rebase #

Patch Set 14 : #

Patch Set 15 : Fix layout tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+640 lines, -288 lines) Patch
M chrome/renderer/media/chrome_key_systems.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +20 lines, -23 lines 0 comments Download
M chromecast/renderer/key_systems_cast.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -3 lines 0 comments Download
M components/cdm/renderer/android_key_systems.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +37 lines, -8 lines 0 comments Download
M components/cdm/renderer/widevine_key_systems.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M components/cdm/renderer/widevine_key_systems.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M content/renderer/media/render_media_client_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M media/base/android/browser_cdm_factory_android.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/base/eme_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +48 lines, -5 lines 0 comments Download
M media/base/key_system_info.h View 1 chunk +2 lines, -5 lines 0 comments Download
M media/base/key_system_info.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M media/base/key_systems.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +20 lines, -15 lines 0 comments Download
M media/base/key_systems.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +248 lines, -142 lines 0 comments Download
M media/base/key_systems_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M media/blink/webencryptedmediaclient_impl.cc View 1 2 3 4 5 6 7 8 9 10 12 chunks +238 lines, -85 lines 0 comments Download
M media/test/data/eme_player_js/player_utils.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 74 (34 generated)
sandersd (OOO until July 31)
5 years, 9 months ago (2015-03-13 18:28:07 UTC) #2
ddorwin
Reviewed through the first part of key_systems.cc. https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc File components/cdm/renderer/android_key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc#newcode53 components/cdm/renderer/android_key_systems.cc:53: codecs = ...
5 years, 9 months ago (2015-03-13 19:24:47 UTC) #3
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc File components/cdm/renderer/android_key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc#newcode53 components/cdm/renderer/android_key_systems.cc:53: codecs = static_cast<SupportedCodecs>(response.non_compositing_codecs); On 2015/03/13 19:24:47, ddorwin wrote: > ...
5 years, 9 months ago (2015-03-13 20:11:57 UTC) #4
ddorwin
https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc File components/cdm/renderer/android_key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc#newcode66 components/cdm/renderer/android_key_systems.cc:66: // When creating the WIDEVINE_HR_NON_COMPOSITING key system, On 2015/03/13 ...
5 years, 9 months ago (2015-03-16 23:25:10 UTC) #10
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc File components/cdm/renderer/android_key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/1/components/cdm/renderer/android_key_systems.cc#newcode66 components/cdm/renderer/android_key_systems.cc:66: // When creating the WIDEVINE_HR_NON_COMPOSITING key system, On 2015/03/16 ...
5 years, 9 months ago (2015-03-17 22:10:41 UTC) #11
ddorwin
Reviewed all but last file. https://codereview.chromium.org/1005903003/diff/140001/components/cdm/renderer/android_key_systems.cc File components/cdm/renderer/android_key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/140001/components/cdm/renderer/android_key_systems.cc#newcode50 components/cdm/renderer/android_key_systems.cc:50: if (base::CommandLine::ForCurrentProcess()->HasSwitch( On 2015/03/17 ...
5 years, 9 months ago (2015-03-18 01:08:05 UTC) #12
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/170001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/1005903003/diff/170001/media/base/eme_constants.h#newcode54 media/base/eme_constants.h:54: // that it is equivalent to remote attestation succeeding. ...
5 years, 9 months ago (2015-03-18 20:41:37 UTC) #13
ddorwin
I've now reviewed everything through PS6. LG. There are a couple comments in PS3. (All ...
5 years, 9 months ago (2015-03-19 18:08:35 UTC) #14
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/140001/media/blink/webencryptedmediaclient_impl.cc File media/blink/webencryptedmediaclient_impl.cc (right): https://codereview.chromium.org/1005903003/diff/140001/media/blink/webencryptedmediaclient_impl.cc#newcode1 media/blink/webencryptedmediaclient_impl.cc:1: // Copyright 2014 The Chromium Authors. All rights reserved. ...
5 years, 9 months ago (2015-03-19 20:05:10 UTC) #15
ddorwin
LG. Two comments in the last file are in PS6. https://codereview.chromium.org/1005903003/diff/190001/media/blink/webencryptedmediaclient_impl.cc File media/blink/webencryptedmediaclient_impl.cc (right): https://codereview.chromium.org/1005903003/diff/190001/media/blink/webencryptedmediaclient_impl.cc#newcode454 ...
5 years, 9 months ago (2015-03-19 22:11:57 UTC) #16
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/190001/media/blink/webencryptedmediaclient_impl.cc File media/blink/webencryptedmediaclient_impl.cc (right): https://codereview.chromium.org/1005903003/diff/190001/media/blink/webencryptedmediaclient_impl.cc#newcode454 media/blink/webencryptedmediaclient_impl.cc:454: config_state.IsRuleSupportedWithCurrentState(not_allowed_rule); On 2015/03/19 22:11:57, ddorwin wrote: > On 2015/03/19 ...
5 years, 9 months ago (2015-03-19 23:05:44 UTC) #17
ddorwin
lgtm Thanks!
5 years, 9 months ago (2015-03-19 23:40:20 UTC) #18
sandersd (OOO until July 31)
lcwu@chromium.org: Please review changes in chromecast/renderer/key_systems_cast.cc
5 years, 9 months ago (2015-03-19 23:45:50 UTC) #20
lcwu1
https://codereview.chromium.org/1005903003/diff/290001/chromecast/renderer/key_systems_cast.cc File chromecast/renderer/key_systems_cast.cc (right): https://codereview.chromium.org/1005903003/diff/290001/chromecast/renderer/key_systems_cast.cc#newcode29 chromecast/renderer/key_systems_cast.cc:29: info.max_video_robustness = ::media::EmeRobustness::EMPTY; From the spec, it appears that ...
5 years, 9 months ago (2015-03-23 23:23:54 UTC) #22
lcwu1
Substitute gunsch@ for me as Chromecast reviewer as he can provide more in-depth discussions at ...
5 years, 9 months ago (2015-03-23 23:34:29 UTC) #24
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/290001/chromecast/renderer/key_systems_cast.cc File chromecast/renderer/key_systems_cast.cc (right): https://codereview.chromium.org/1005903003/diff/290001/chromecast/renderer/key_systems_cast.cc#newcode29 chromecast/renderer/key_systems_cast.cc:29: info.max_video_robustness = ::media::EmeRobustness::EMPTY; On 2015/03/23 23:23:54, lcwu1 wrote: > ...
5 years, 9 months ago (2015-03-23 23:42:51 UTC) #25
gunsch
https://codereview.chromium.org/1005903003/diff/290001/media/base/key_systems.cc File media/base/key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/290001/media/base/key_systems.cc#newcode695 media/base/key_systems.cc:695: // robustness requirement is not supported. This seems awkward---isn't ...
5 years, 9 months ago (2015-03-24 00:12:01 UTC) #26
lcwu1
https://codereview.chromium.org/1005903003/diff/290001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/1005903003/diff/290001/media/base/eme_constants.h#newcode103 media/base/eme_constants.h:103: Just chatted with ddorwin@ off-line. I felt that this ...
5 years, 9 months ago (2015-03-24 00:19:49 UTC) #27
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/290001/media/base/key_systems.cc File media/base/key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/290001/media/base/key_systems.cc#newcode695 media/base/key_systems.cc:695: // robustness requirement is not supported. On 2015/03/24 00:12:00, ...
5 years, 9 months ago (2015-03-24 00:21:53 UTC) #28
ddorwin
https://codereview.chromium.org/1005903003/diff/290001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/1005903003/diff/290001/media/base/eme_constants.h#newcode103 media/base/eme_constants.h:103: On 2015/03/24 00:19:49, lcwu1 wrote: > Just chatted with ...
5 years, 9 months ago (2015-03-24 00:24:37 UTC) #29
ddorwin
https://codereview.chromium.org/1005903003/diff/290001/media/base/eme_constants.h File media/base/eme_constants.h (right): https://codereview.chromium.org/1005903003/diff/290001/media/base/eme_constants.h#newcode103 media/base/eme_constants.h:103: On 2015/03/24 00:24:37, ddorwin wrote: > On 2015/03/24 00:19:49, ...
5 years, 9 months ago (2015-03-24 18:00:28 UTC) #30
ddorwin
https://codereview.chromium.org/1005903003/diff/290001/media/blink/webencryptedmediaclient_impl.cc File media/blink/webencryptedmediaclient_impl.cc (right): https://codereview.chromium.org/1005903003/diff/290001/media/blink/webencryptedmediaclient_impl.cc#newcode218 media/blink/webencryptedmediaclient_impl.cc:218: key_system, media_type, ConvertRobustness(capability.robustness)); On second thought, regardless of how ...
5 years, 9 months ago (2015-03-24 18:11:37 UTC) #31
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/290001/media/blink/webencryptedmediaclient_impl.cc File media/blink/webencryptedmediaclient_impl.cc (right): https://codereview.chromium.org/1005903003/diff/290001/media/blink/webencryptedmediaclient_impl.cc#newcode218 media/blink/webencryptedmediaclient_impl.cc:218: key_system, media_type, ConvertRobustness(capability.robustness)); On 2015/03/24 18:11:37, ddorwin wrote: > ...
5 years, 9 months ago (2015-03-24 18:20:25 UTC) #32
sandersd (OOO until July 31)
Patchset uploaded, sorry!
5 years, 9 months ago (2015-03-24 18:29:01 UTC) #33
ddorwin
lgtm % nit https://codereview.chromium.org/1005903003/diff/310001/media/base/key_systems.cc File media/base/key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/310001/media/base/key_systems.cc#newcode687 media/base/key_systems.cc:687: EmeRobustness robustness_value = ConvertRobustness(robustness); nit: Since ...
5 years, 9 months ago (2015-03-24 20:00:09 UTC) #34
sandersd (OOO until July 31)
https://codereview.chromium.org/1005903003/diff/310001/media/base/key_systems.cc File media/base/key_systems.cc (right): https://codereview.chromium.org/1005903003/diff/310001/media/base/key_systems.cc#newcode687 media/base/key_systems.cc:687: EmeRobustness robustness_value = ConvertRobustness(robustness); On 2015/03/24 20:00:09, ddorwin wrote: ...
5 years, 9 months ago (2015-03-24 20:08:03 UTC) #35
gunsch
chromecast lgtm It still seems a little too tied to Widevine specifically but sounds like ...
5 years, 9 months ago (2015-03-24 22:09:26 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/330001
5 years, 9 months ago (2015-03-24 22:11:47 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/50745) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 9 months ago (2015-03-24 22:15:42 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/350001
5 years, 9 months ago (2015-03-24 22:28:39 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/4983)
5 years, 9 months ago (2015-03-24 22:58:18 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/370001
5 years, 9 months ago (2015-03-24 23:31:30 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/390001
5 years, 9 months ago (2015-03-25 01:02:44 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/410001
5 years, 9 months ago (2015-03-25 01:10:09 UTC) #60
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/1140)
5 years, 9 months ago (2015-03-25 03:48:48 UTC) #62
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/410001
5 years, 9 months ago (2015-03-25 16:50:26 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/430001
5 years, 9 months ago (2015-03-25 18:00:00 UTC) #67
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1005903003/450001
5 years, 9 months ago (2015-03-25 18:05:23 UTC) #72
commit-bot: I haz the power
Committed patchset #15 (id:450001)
5 years, 9 months ago (2015-03-25 19:53:15 UTC) #73
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 19:54:49 UTC) #74
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/a8a9143d9373e1ae47f30d3da14c051d16188b3e
Cr-Commit-Position: refs/heads/master@{#322219}

Powered by Google App Engine
This is Rietveld 408576698