Chromium Code Reviews| Index: public/platform/WebContentDecryptionModuleSession.h |
| diff --git a/public/platform/WebContentDecryptionModuleSession.h b/public/platform/WebContentDecryptionModuleSession.h |
| index ab08884ff61732ada3719cee68ebb52a8e538f83..b24d4dbfdd6799db4f2d0b5523083446accabffb 100644 |
| --- a/public/platform/WebContentDecryptionModuleSession.h |
| +++ b/public/platform/WebContentDecryptionModuleSession.h |
| @@ -56,6 +56,10 @@ public: |
| virtual void error(MediaKeyErrorCode, unsigned long systemCode) = 0; |
| virtual void error(WebContentDecryptionModuleException, unsigned long systemCode, const WebString& message) = 0; |
| + // Called when the expiration time for the session changes. |time| is |
|
ddorwin
2014/10/09 00:25:25
|time|?
jrummell
2014/10/09 00:30:08
Fixed.
|
| + // specified as the number of milliseconds since 01 January, 1970 UTC. |
| + virtual void expirationChanged(double updatedExpiryTimeInMS) = 0; |
| + |
| protected: |
| virtual ~Client(); |
| }; |
| @@ -71,7 +75,12 @@ public: |
| virtual void release() = 0; |
| virtual void initializeNewSession(const WebString& initDataType, const unsigned char* initData, size_t initDataLength, const WebString& sessionType, WebContentDecryptionModuleResult); |
| + virtual void load(const WebString& sessionId, WebContentDecryptionModuleResult); |
| virtual void update(const unsigned char* response, size_t responseLength, WebContentDecryptionModuleResult); |
| + virtual void close(WebContentDecryptionModuleResult); |
| + virtual void remove(WebContentDecryptionModuleResult); |
| + |
| + // FIXME: Remove this method once the new methods are implemented in Chromium. |
| virtual void release(WebContentDecryptionModuleResult); |
| }; |