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
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
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
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
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