Rename method CanUseKey for clarity
[ Merge of http://go/wvgerrit/60240 ] Since the method is not a general purpose check and only verifies that the key can be used for a given security level the method has been renamed PolicyEngine::CanUseKeyForSecurityLevel. Bug: 115701771 Test: WV unit/integration tests Change-Id: Icd6789538bb709d2a48c67bbd7bc810f4b000e14
This commit is contained in:
@@ -45,7 +45,8 @@ class PolicyEngine {
|
||||
|
||||
// Verifies whether the policy allows use of the specified key of
|
||||
// a given security level for content decryption.
|
||||
virtual bool CanUseKey(const KeyId& key_id, CdmSecurityLevel security_level);
|
||||
virtual bool CanUseKeyForSecurityLevel(const KeyId& key_id,
|
||||
CdmSecurityLevel security_level);
|
||||
|
||||
// OnTimerEvent is called when a timer fires. It notifies the Policy Engine
|
||||
// that the timer has fired and dispatches the relevant events through
|
||||
|
||||
Reference in New Issue
Block a user