summaryrefslogtreecommitdiffstats
path: root/components/cdm
Commit message (Collapse)AuthorAgeFilesLines
* Remove scherkus@chromium.org from OWNERS files.scherkus2015-07-011-1/+0
| | | | | | | | | | I've moved on to a different project and am no longer reviewing code. Thanks for the memories! Review URL: https://codereview.chromium.org/1215253002 Cr-Commit-Position: refs/heads/master@{#337084}
* Combine CENC 'pssh' box parsing routines.jrummell2015-06-152-138/+4
| | | | | | | | | | | | | | | | | | Also update the routines to ignore 'pssh' boxes with version 2 or later. BUG=460359, 460360 TEST=new unittests pass Committed: https://crrev.com/b666d7874efac44b359a95329f0cb890e97671df Cr-Commit-Position: refs/heads/master@{#333556} Committed: https://crrev.com/7a84443597e92a03f90806712f8629df40bf408e Cr-Commit-Position: refs/heads/master@{#333611} Review URL: https://codereview.chromium.org/1149023002 Cr-Commit-Position: refs/heads/master@{#334416}
* Revert of Combine 'pssh' parsing routines. (patchset #8 id:140001 of ↵kjellander2015-06-102-4/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1149023002/) Reason for revert: Breaks compile on 'Google Chrome Win' bot: https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/1066 Original issue's description: > Combine CENC 'pssh' box parsing routines. > > Also update the routines to ignore 'pssh' boxes with version 2 or > later. > > BUG=460359, 460360 > TEST=new unittests pass > > Committed: https://crrev.com/b666d7874efac44b359a95329f0cb890e97671df > Cr-Commit-Position: refs/heads/master@{#333556} > > Committed: https://crrev.com/7a84443597e92a03f90806712f8629df40bf408e > Cr-Commit-Position: refs/heads/master@{#333611} TBR=sandersd@chromium.org,ddorwin@chromium.org,xhwang@chromium.org,jrummell@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=460359, 460360 Review URL: https://codereview.chromium.org/1165313003 Cr-Commit-Position: refs/heads/master@{#333694}
* Combine CENC 'pssh' box parsing routines.jrummell2015-06-092-138/+4
| | | | | | | | | | | | | | | Also update the routines to ignore 'pssh' boxes with version 2 or later. BUG=460359, 460360 TEST=new unittests pass Committed: https://crrev.com/b666d7874efac44b359a95329f0cb890e97671df Cr-Commit-Position: refs/heads/master@{#333556} Review URL: https://codereview.chromium.org/1149023002 Cr-Commit-Position: refs/heads/master@{#333611}
* Revert of Combine 'pssh' parsing routines. (patchset #7 id:120001 of ↵rfevang2015-06-092-4/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://codereview.chromium.org/1149023002/) Reason for revert: Broke Google Chrome Mac build: https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/1748/steps/compile/logs/stdio Original issue's description: > Combine CENC 'pssh' box parsing routines. > > Also update the routines to ignore 'pssh' boxes with version 2 or > later. > > BUG=460359, 460360 > TEST=new unittests pass > > Committed: https://crrev.com/b666d7874efac44b359a95329f0cb890e97671df > Cr-Commit-Position: refs/heads/master@{#333556} TBR=sandersd@chromium.org,ddorwin@chromium.org,xhwang@chromium.org,jrummell@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=460359, 460360 Review URL: https://codereview.chromium.org/1170923005 Cr-Commit-Position: refs/heads/master@{#333568}
* Combine CENC 'pssh' box parsing routines.jrummell2015-06-092-138/+4
| | | | | | | | | | | | Also update the routines to ignore 'pssh' boxes with version 2 or later. BUG=460359, 460360 TEST=new unittests pass Review URL: https://codereview.chromium.org/1149023002 Cr-Commit-Position: refs/heads/master@{#333556}
* Remove checking for 'tenc' boxes when processing initDatajrummell2015-05-191-9/+2
| | | | | | | | | BUG=none TEST=compiles Review URL: https://codereview.chromium.org/1130183009 Cr-Commit-Position: refs/heads/master@{#330599}
* Support Android secure codecs in requestMediaKeySystemAccess().sandersd2015-05-064-51/+48
| | | | | | | | | | This adds the bits necessary to determine if a configuration requires hardware-secure codecs. It does not add the logic to actually enable secure surfaces based on the requirement, that decision is still based on the renderer preference. BUG=467779 Review URL: https://codereview.chromium.org/1106263004 Cr-Commit-Position: refs/heads/master@{#328464}
* Add support for version 1 'pssh' boxes on Androidjrummell2015-05-011-9/+30
| | | | | | | | | BUG=456399 TEST=local testing with MP4 files Review URL: https://codereview.chromium.org/1115043004 Cr-Commit-Position: refs/heads/master@{#327977}
* Adds MediaClientAndroid to support embedder/MediaDrmBridge interaction.gunsch2015-04-303-0/+197
| | | | | | | | | | | | | | | This CL does a few things: * Adds a MediaDrmBridgeDelegate interface to support per DRM-scheme logic for Android in MediaDrmBridge. * Adds a MediaClientAndroid interface for embedders to provide MediaDrmBridgeDelegate implementations and key-system-UUID mappings * Removes the Java-based key-system-UUID mapping path * Embedders no longer call directly into MediaDrmBridge R=qinmin@chromium.org,xhwang@chromium.org,boliu@chromium.org,jochen@chromium.org BUG=462443 Review URL: https://codereview.chromium.org/962793005 Cr-Commit-Position: refs/heads/master@{#327650}
* Change enums in eme_constants.h to enum classesjrummell2015-04-211-21/+24
| | | | | | | | | BUG=473830 TEST=media_unittests pass Review URL: https://codereview.chromium.org/1093253002 Cr-Commit-Position: refs/heads/master@{#326147}
* encrypted media: Persistent state is always enabled on Android.xhwang2015-04-031-2/+7
| | | | | | | | | | We are using MediaDrm API on Android and we cannot guarantee that API doesn't use persistent storage on the device. Therefore always set persistent state to EME_FEATURE_ALWAYS_ENABLED to err on the safe side. Also change NOTREACHED() in MediaPlayerAndroid::SetCdm() to LOG(ERROR) because it's actually reachable if we use SRC + EME. Review URL: https://codereview.chromium.org/1060713004 Cr-Commit-Position: refs/heads/master@{#323847}
* Replace kMediaDrmEnableNonCompositing swicth with ↵ddorwin2015-04-022-7/+13
| | | | | | | | | | | | | | | use_video_overlay_for_embedded_encrypted_video pref Disables kMediaDrmEnableNonCompositing by default in WebView. It is now controlled by the pref. Also updates comments related to enabling unprefixed EME. BUG=470275,470279 Review URL: https://codereview.chromium.org/1045173002 Cr-Commit-Position: refs/heads/master@{#323420}
* Change EmeInitDataType to be an enum classjrummell2015-03-262-4/+4
| | | | | | | | | | | | | Mask values are seperated out into consts of type SupportedInitDataTypes. Also removes unused function IsSaneInitDataTypeWithContainer(). BUG=417440 TEST=EME layout tests pass Review URL: https://codereview.chromium.org/1027363002 Cr-Commit-Position: refs/heads/master@{#322286}
* Implement robustness strings in requestMediaKeySystemAccess().sandersd2015-03-253-8/+43
| | | | | | | | BUG=442586,460616 Review URL: https://codereview.chromium.org/1005903003 Cr-Commit-Position: refs/heads/master@{#322219}
* Implement checks for distinctiveIdentifier and persistentState in ↵sandersd2015-02-203-5/+36
| | | | | | | | | | | | requestMediaKeySystemAccess(). Also includes additional metadata in KeySystemInfo to support those checks. BUG=4484922 Review URL: https://codereview.chromium.org/923283002 Cr-Commit-Position: refs/heads/master@{#317257}
* Advertise Opus support in EME.sandersd2014-11-261-0/+1
| | | | | | | | BUG=417398 Review URL: https://codereview.chromium.org/755143004 Cr-Commit-Position: refs/heads/master@{#305878}
* GN: Fix Android component buildcjhopman2014-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | This change makes all libraries in the Android component build link successfully (including fixing and enabling libchrome_shell). This also makes all the libraries link in a component build for Linux, but without bot coverage for that platform it'll surely regress. This is almost entirely just fixing some missing/incorrect dependencies and adding missing source files for Android. Some targets were depending on an internal source_set/static_library when they should have been (or already were) depending on the corresponding component. In these cases, I added some visibility restrictions to those internal targets to try to prevent those types of dependencies from coming back. BUG=359249 Review URL: https://codereview.chromium.org/666813002 Cr-Commit-Position: refs/heads/master@{#301386}
* Move KeySystemInfo to media/.xhwang2014-10-249-42/+43
| | | | | | | | | | | This is a preparation to move KeySystems to media, which is needed to support Encrypted Media Extensions (EME) without relying on content. BUG=422730 Review URL: https://codereview.chromium.org/665343002 Cr-Commit-Position: refs/heads/master@{#300992}
* Standardize usage of virtual/override/final in components/dcheng2014-10-211-5/+4
| | | | | | | | | BUG=417463 TBR=blundell@chromium.org Review URL: https://codereview.chromium.org/666133002 Cr-Commit-Position: refs/heads/master@{#300456}
* Add mkwst@chromium.org to IPC OWNERS files.mkwst2014-10-091-0/+1
| | | | | | | | | NOTRY=true TBR=darin@chromium.org Review URL: https://codereview.chromium.org/636203003 Cr-Commit-Position: refs/heads/master@{#298800}
* replace OVERRIDE and FINAL with override and final in components/mostynb2014-10-061-2/+2
| | | | | | | | BUG=417463 Review URL: https://codereview.chromium.org/623133002 Cr-Commit-Position: refs/heads/master@{#298237}
* Implement Chromium side of MediaKeys.isTypeSupported().sandersd2014-09-304-1/+23
| | | | | | | | BUG=405731 Review URL: https://codereview.chromium.org/557723003 Cr-Commit-Position: refs/heads/master@{#297550}
* Add wfh@chromium.org to ipc OWNERS filesWill Harris2014-09-081-0/+1
| | | | | | | | | BUG=None R=thestig@chromium.org Review URL: https://codereview.chromium.org/550503003 Cr-Commit-Position: refs/heads/master@{#293783}
* Remove cevans@ from OWNERS files.thestig2014-08-291-1/+0
| | | | | | | | NOTRY=true Review URL: https://codereview.chromium.org/524433003 Cr-Commit-Position: refs/heads/master@{#292549}
* Enable more tests in GN build.brettw@chromium.org2014-07-223-0/+60
| | | | | | | | | | | | | | | | Add components/cdm, components/sync_driver, ui/app_list, Update file lists that got out of sync with GYP to to not having any targets that actually link them. Move cc:cc_surfaces to cc/surfaces Enable linking cc_unittests, cc_perftests, app_list_unittests, message_center_unittests TBR=jamesr Review URL: https://codereview.chromium.org/399683005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284784 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the no proprietary codecs build for android.l.gombos@samsung.com2014-07-141-1/+1
| | | | | | | | Fix the android build when proprietary_codecs is 0 (USE_PROPRIETARY_CODECS is not defined). Review URL: https://codereview.chromium.org/387863007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282983 0039d316-1c4b-4281-b951-d872f2087c98
* Add an IPC to return the platform supported key-system names in Android.ycheo@chromium.org2014-06-137-48/+124
| | | | | | | | | | | | - Split widevine_key_systems.(cc|h) into andorid_key_systems.* and widevine_key_system.*. - Add a method MediaDrmBridge::GetPlatformKeySystemNames(). BUG=322395 Review URL: https://codereview.chromium.org/320383005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276953 0039d316-1c4b-4281-b951-d872f2087c98
* Update components/cdm/common/OWNERS to reflect the module name change.ycheo@chromium.org2014-06-121-9/+9
| | | | | | Review URL: https://codereview.chromium.org/331553002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276624 0039d316-1c4b-4281-b951-d872f2087c98
* Remove cdn from OWNERS for IPC security review.palmer@chromium.org2014-06-081-2/+0
| | | | | | | | | | | Since he is no longer on the project. Sniff. :'( BUG=none R=jln@chromium.org Review URL: https://codereview.chromium.org/317243005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275756 0039d316-1c4b-4281-b951-d872f2087c98
* Remove IPC_BEGIN_MESSAGE_MAP_EX macro since r270839 made all bad IPCs kill ↵jam@chromium.org2014-05-162-7/+4
| | | | | | | | | | their child processes. R=avi@chromium.org Review URL: https://codereview.chromium.org/292443004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271096 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the compile error for win64: widevine_key_systems.cc.ycheo@chromium.org2014-05-111-3/+3
| | | | | | | | BUG=372069 Review URL: https://codereview.chromium.org/280063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269677 0039d316-1c4b-4281-b951-d872f2087c98
* Componentize EncryptedMediaMessageFilter and rename it CdmMessageFilter.ycheo@chromium.org2014-05-0913-0/+394
The motivation is to reuse the Widevine keysystem registration logic in Android Webview. BUG=322395 Review URL: https://codereview.chromium.org/253593002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269297 0039d316-1c4b-4281-b951-d872f2087c98