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

Unified Diff: content/renderer/media/crypto/proxy_decryptor.h

Issue 448893002: Update ClearKey to support CDM_6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cdm6
Patch Set: Changes2 Created 6 years, 4 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
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.

Powered by Google App Engine
This is Rietveld 408576698