Index: content/renderer/media/crypto/proxy_decryptor.h |
diff --git a/content/renderer/media/crypto/proxy_decryptor.h b/content/renderer/media/crypto/proxy_decryptor.h |
index e4fd7eace5e7fb2574acb546eedb6ff8b02b136d..b1e736d718054acc7f97582493bc79eb16700155 100644 |
--- a/content/renderer/media/crypto/proxy_decryptor.h |
+++ b/content/renderer/media/crypto/proxy_decryptor.h |
@@ -96,8 +96,15 @@ class ProxyDecryptor { |
uint32 system_code, |
const std::string& error_message); |
+ enum SessionCreationType { |
+ TemporarySession, |
+ PersistentSession, |
+ LoadSession |
+ }; |
+ |
// Called when a session is actually created or loaded. |
- void SetSessionId(bool persistent, const std::string& web_session_id); |
+ void SetSessionId(SessionCreationType session_type, |
+ const std::string& web_session_id); |
#if defined(ENABLE_PEPPER_CDMS) |
// Callback to create the Pepper plugin. |