Source release v3.3.0
This commit is contained in:
@@ -34,6 +34,11 @@ class PolicyEngine {
|
||||
// status is not calculated to avoid overhead in the decryption path.
|
||||
virtual bool CanDecryptContent(const KeyId& key_id);
|
||||
|
||||
// Returns the current CdmKeyStatus for the given key, or
|
||||
// kKeyStatusKeyUnknown if the key is not found. This is useful for finding
|
||||
// out why a key is not usable.
|
||||
virtual CdmKeyStatus GetKeyStatus(const KeyId& key_id);
|
||||
|
||||
// OnTimerEvent is called when a timer fires. It notifies the Policy Engine
|
||||
// that the timer has fired and dispatches the relevant events through
|
||||
// |event_listener_|.
|
||||
@@ -104,11 +109,9 @@ class PolicyEngine {
|
||||
friend class PolicyEngineConstraintsTest;
|
||||
|
||||
void InitDevice(CryptoSession* crypto_session);
|
||||
void CheckDevice(int64_t current_time);
|
||||
|
||||
void SetDeviceResolution(uint32_t width, uint32_t height) {
|
||||
current_resolution_ = width * height;
|
||||
}
|
||||
void SetDeviceResolution(uint32_t width, uint32_t height);
|
||||
void CheckDeviceHdcpStatusOnTimer(int64_t current_time);
|
||||
void CheckDeviceHdcpStatus();
|
||||
|
||||
typedef enum {
|
||||
kLicenseStateInitial,
|
||||
|
||||
Reference in New Issue
Block a user