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

Unified Diff: ppapi/cpp/private/content_decryptor_private.h

Issue 105383002: Rename EME WD call parameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit Created 7 years 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 | « ppapi/c/private/ppp_content_decryptor_private.h ('k') | ppapi/cpp/private/content_decryptor_private.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/private/content_decryptor_private.h
diff --git a/ppapi/cpp/private/content_decryptor_private.h b/ppapi/cpp/private/content_decryptor_private.h
index c2a2ef06216ae0f65af727c635f049392eff4790..d2c17c1869ab3b5df310e45a108286e16817563d 100644
--- a/ppapi/cpp/private/content_decryptor_private.h
+++ b/ppapi/cpp/private/content_decryptor_private.h
@@ -32,12 +32,12 @@ class ContentDecryptor_Private {
// strings. The change would allow the CDM wrapper to reuse vars when
// replying to the browser.
virtual void Initialize(const std::string& key_system) = 0;
- virtual void CreateSession(uint32_t reference_id,
+ virtual void CreateSession(uint32_t session_id,
const std::string& type,
pp::VarArrayBuffer init_data) = 0;
- virtual void UpdateSession(uint32_t reference_id,
+ virtual void UpdateSession(uint32_t session_id,
pp::VarArrayBuffer response) = 0;
- virtual void ReleaseSession(uint32_t reference_id) = 0;
+ virtual void ReleaseSession(uint32_t session_id) = 0;
virtual void Decrypt(pp::Buffer_Dev encrypted_buffer,
const PP_EncryptedBlockInfo& encrypted_block_info) = 0;
virtual void InitializeAudioDecoder(
@@ -58,13 +58,13 @@ class ContentDecryptor_Private {
// PPB_ContentDecryptor_Private methods for passing data from the decryptor
// to the browser.
- void SessionCreated(uint32_t reference_id, const std::string& session_id);
- void SessionMessage(uint32_t reference_id,
+ void SessionCreated(uint32_t session_id, const std::string& web_session_id);
+ void SessionMessage(uint32_t session_id,
pp::VarArrayBuffer message,
const std::string& default_url);
- void SessionReady(uint32_t reference_id);
- void SessionClosed(uint32_t reference_id);
- void SessionError(uint32_t reference_id,
+ void SessionReady(uint32_t session_id);
+ void SessionClosed(uint32_t session_id);
+ void SessionError(uint32_t session_id,
int32_t media_error,
int32_t system_code);
« no previous file with comments | « ppapi/c/private/ppp_content_decryptor_private.h ('k') | ppapi/cpp/private/content_decryptor_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698