Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1617)

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.h

Issue 621903003: Add MediaKeySession.expiration attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/encryptedmedia/MediaKeySession.h
diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h
index a14b131bfe74c5e84dd1582d2382cf1822492daf..eae0e31cbf73065e56e4a85fab18da37fe8de0a6 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.h
+++ b/Source/modules/encryptedmedia/MediaKeySession.h
@@ -70,6 +70,7 @@ public:
const String& keySystem() const { return m_keySystem; }
String sessionId() const;
+ double expiration() const { return m_expiration; }
ScriptPromise closed(ScriptState*);
ScriptPromise generateRequest(ScriptState*, const String& initDataType, ArrayBuffer* initData);
@@ -126,6 +127,7 @@ private:
// Session properties.
String m_sessionType;
+ double m_expiration;
// Session states.
bool m_isUninitialized;
« no previous file with comments | « no previous file | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698