Index: public/platform/WebContentDecryptionModuleSession.h |
diff --git a/public/platform/WebContentDecryptionModuleSession.h b/public/platform/WebContentDecryptionModuleSession.h |
index ceca26788fa90f6ae66ba11709fa2b72b2c35a06..da87436ae791e90745169381dd348afdd4b8663b 100644 |
--- a/public/platform/WebContentDecryptionModuleSession.h |
+++ b/public/platform/WebContentDecryptionModuleSession.h |
@@ -32,11 +32,13 @@ |
#define WebContentDecryptionModuleSession_h |
#include "WebCommon.h" |
+#include "WebVector.h" |
#include "public/platform/WebContentDecryptionModuleException.h" |
#include "public/platform/WebContentDecryptionModuleResult.h" |
namespace blink { |
+class WebEncryptedMediaKeyInformation; |
class WebString; |
class WebURL; |
@@ -60,6 +62,12 @@ public: |
// since 01 January, 1970 UTC. |
virtual void expirationChanged(double updatedExpiryTimeInMS) = 0; |
+ // Called when the set of keys for this session change or existing keys |
ddorwin
2015/01/17 00:34:56
nit: changes - the subject is "set"
jrummell
2015/01/20 19:46:34
Done.
|
+ // change state. |hasAdditionalUsableKey| is set if a key is newly |
+ // usable (e.g. new key available, previously expired key has been |
+ // renewed, etc.) and the browser should attempt to resume playback. |
ddorwin
2015/01/17 00:34:56
"... attempt to resume playback if necessary."
jrummell
2015/01/20 19:46:34
Done.
|
+ virtual void keysChange(bool hasAdditionalUsableKey, const WebVector<WebEncryptedMediaKeyInformation>&) = 0; |
+ |
protected: |
virtual ~Client(); |
}; |