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

Unified Diff: media/base/content_decryption_module.h

Issue 2830343003: media: Update comment on SessionExpirationUpdateCB (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/content_decryption_module.h
diff --git a/media/base/content_decryption_module.h b/media/base/content_decryption_module.h
index e8b36654b614b5685eb737cb4eb0ac1ad01f155b..df06c71207c6cf0233569d66ff51ff3c9189f26d 100644
--- a/media/base/content_decryption_module.h
+++ b/media/base/content_decryption_module.h
@@ -189,6 +189,9 @@ typedef base::Callback<void(const std::string& session_id,
// Called when the CDM changes the expiration time of a session.
// See http://w3c.github.io/encrypted-media/#update-expiration
+// A null base::Time() will be translated to NaN in Javascript, which means "no
+// such time exists or if the license explicitly never expires, as determined
+// by the CDM", according to the EME spec.
typedef base::Callback<void(const std::string& session_id,
base::Time new_expiry_time)>
SessionExpirationUpdateCB;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698