Source release 18.1.0
This commit is contained in:
@@ -59,6 +59,9 @@ class LicenseHolder {
|
||||
// Load the license response into the CDM engine. A call to FetchLicense()
|
||||
// must be made first.
|
||||
void LoadLicense();
|
||||
// Attempt to load the license response into the CDM engine, but expect a
|
||||
// failure.
|
||||
void FailLoadLicense();
|
||||
// Reload the license. Call OpenSession() before calling
|
||||
// ReloadLicense(). Also, the key_set_id must have been set previously. The
|
||||
// key_set_id is set by calling LoadLicense(), or by calling set_key_set_id().
|
||||
@@ -83,7 +86,7 @@ class LicenseHolder {
|
||||
// Try to decrypt some random data, but expect failure. The failure may
|
||||
// be either the expected_status, or NEED_KEY. We allow NEED_KEY in case
|
||||
// the server recognized that we cannot support the given key.
|
||||
void FailDecrypt(const KeyId& key_id, CdmResponseType expected_status);
|
||||
void FailDecrypt(const KeyId& key_id, CdmResponseEnum expected_status);
|
||||
|
||||
const std::string& content_id() const { return content_id_; }
|
||||
void set_content_id(const std::string& content_id) {
|
||||
|
||||
Reference in New Issue
Block a user