Previously when using pepper CDM, Clear Key CDM (adapter) was registered as a pepper plugin, using --register-pepper-plugins. As we are moving to use mojo CDM, this will not work.
We need a new mechanism to register the Clear Key CDM for testing purposes. Since we are not using pepper, we don't need to specify anything related to the adapter, the display name, or the mime type.
Note that we already have a feature to enable External Clear Key key system for testing (kExternalClearKeyForTesting). Clear Key CDM should only be registered when this feature is enabled. Or maybe we can combine that feature and the registration into one command line switch.
Comment 1 by bugdroid1@chromium.org
, Sep 14 2017