chromium/cdm.git
4 months agoUpdate CDM interface to support backward compatibility. master
xhwang@google.com [Mon, 11 Feb 2013 21:30:41 +0000 (21:30 +0000)]
Update CDM interface to support backward compatibility.

- Add versioning to cdm::ContentDecryptionModule and cdm::Host.
- CDM needs to call GetCdmHostFunc to get cdm::Host.
- Merge cdm::Allocator into cdm::Host.
- Add Destroy() to cdm::ContentDecryptionModule.

Review URL: https://codereview.chromium.org/12224069

git-svn-id: http://src.chromium.org/svn/trunk/deps/cdm@181763 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoUpdate CDM interface to version 4, adding versioning to CDM Host.
xhwang@google.com [Fri, 8 Feb 2013 02:13:00 +0000 (02:13 +0000)]
Update CDM interface to version 4, adding versioning to CDM Host.

- Add versioning to CDM Host interface.
- Add GetPrivateData() method to CDM Host_1 interface.
- Add CDM HostFactory interface to support multiple CDM versions.
- Update some comments.
Review URL: https://codereview.chromium.org/12207066

git-svn-id: http://src.chromium.org/svn/trunk/deps/cdm@181408 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoClarify that null termination characters are not included in length parameters.
ddorwin@chromium.org [Fri, 14 Dec 2012 02:26:57 +0000 (02:26 +0000)]
Clarify that null termination characters are not included in length parameters.
Review URL: https://codereview.chromium.org/11573028

git-svn-id: http://src.chromium.org/svn/trunk/deps/cdm@173055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoClean up content_decryption_module.h for its new location and add a README.
ddorwin@chromium.org [Thu, 13 Dec 2012 23:30:57 +0000 (23:30 +0000)]
Clean up content_decryption_module.h for its new location and add a README.

Two changes to content_decryption_module.h:
 * Merged in the contents of src/webkit/media/crypto/ppapi/cdm_export.h so content_decryption_module.h can be standalone and there are no include path dependencies. I will delete cdm_export.h along with content_decryption_module.h from Chromium.
 * Update the header guards to match the new SVN location since they can't match all target locations.

Review URL: https://chromiumcodereview.appspot.com/11572022

git-svn-id: http://src.chromium.org/svn/trunk/deps/cdm@172996 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoCopy content_decryption_module.h out of the main src/ tree so it can be modified...
ddorwin@chromium.org [Thu, 13 Dec 2012 18:46:53 +0000 (18:46 +0000)]
Copy content_decryption_module.h out of the main src/ tree so it can be modified independently of Chromium. This allows third-party CDMs to be built before rolling potentially breaking changes into Chrome. It will be removed from its current location in a separate CL.

git-svn-id: http://src.chromium.org/svn/trunk/deps/cdm@172908 4ff67af0-8c30-449e-8e8b-ad334ec8d88c