Source release 19.1.0
This commit is contained in:
@@ -66,12 +66,20 @@ class LicenseHolder {
|
||||
// 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().
|
||||
void ReloadLicense();
|
||||
// Attempt to reload a license, but expect a failure.
|
||||
void FailReloadLicense();
|
||||
// Generate the renewal request, and send it to the server.
|
||||
void GenerateAndPostRenewalRequest(const std::string& policy_id);
|
||||
// Fetch the renewal response. This can add a few seconds of latency.
|
||||
void FetchRenewal();
|
||||
// Load the renewal response that was fetched in FetchRenewal().
|
||||
void LoadRenewal();
|
||||
// Generate the release request, and send it to the server.
|
||||
void GenerateAndPostReleaseRequest(const std::string& policy_id);
|
||||
// Fetch the release response. This can add a few seconds of latency.
|
||||
void FetchRelease();
|
||||
// Load the release response that was fetched in FetchRelease().
|
||||
void LoadRelease();
|
||||
// Releases the license and frees up entry in usage table.
|
||||
void RemoveLicense();
|
||||
|
||||
@@ -118,9 +126,9 @@ class LicenseHolder {
|
||||
CdmEngine* cdm_engine_ = nullptr;
|
||||
const ConfigTestEnv& config_;
|
||||
SimpleEventListener event_listener_;
|
||||
std::unique_ptr<UrlRequest> renewal_in_flight_;
|
||||
std::string renewal_message_;
|
||||
std::string renewal_response_;
|
||||
std::unique_ptr<UrlRequest> request_in_flight_;
|
||||
std::string request_message_;
|
||||
std::string request_response_;
|
||||
|
||||
// Generate the license request.
|
||||
void GenerateKeyRequest(const InitializationData& init_data,
|
||||
|
||||
Reference in New Issue
Block a user