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

Unified Diff: media/cdm/ppapi/cdm_adapter.h

Issue 496143002: Update Pepper interface for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove vector.data() Created 6 years, 3 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 | « media/base/limits.h ('k') | media/cdm/ppapi/cdm_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm/ppapi/cdm_adapter.h
diff --git a/media/cdm/ppapi/cdm_adapter.h b/media/cdm/ppapi/cdm_adapter.h
index 445500731de0ef9d80a6a29a2ad86b9241c483f8..c35fc4d7d20f17cf7b59222fdc7aad2b653cbfc3 100644
--- a/media/cdm/ppapi/cdm_adapter.h
+++ b/media/cdm/ppapi/cdm_adapter.h
@@ -52,6 +52,9 @@ class CdmAdapter : public pp::Instance,
// Note: Results of calls to these methods must be reported through the
// PPB_ContentDecryptor_Private interface.
virtual void Initialize(const std::string& key_system) OVERRIDE;
+ virtual void SetServerCertificate(
+ uint32_t promise_id,
+ pp::VarArrayBuffer server_certificate) OVERRIDE;
virtual void CreateSession(uint32_t promise_id,
const std::string& init_data_type,
pp::VarArrayBuffer init_data,
@@ -61,15 +64,12 @@ class CdmAdapter : public pp::Instance,
virtual void UpdateSession(uint32_t promise_id,
const std::string& web_session_id,
pp::VarArrayBuffer response) OVERRIDE;
- // TODO(jrummell): Pass this function through Pepper and add OVERRIDE.
virtual void CloseSession(uint32_t promise_id,
const std::string& web_session_id);
- // TODO(jrummell): Rename to RemoveSession().
- virtual void ReleaseSession(uint32_t promise_id,
- const std::string& web_session_id) OVERRIDE;
- // TODO(jrummell): Pass this function through Pepper and add OVERRIDE.
+ virtual void RemoveSession(uint32_t promise_id,
+ const std::string& web_session_id) OVERRIDE;
virtual void GetUsableKeyIds(uint32_t promise_id,
- const std::string& web_session_id);
+ const std::string& web_session_id) OVERRIDE;
virtual void Decrypt(
pp::Buffer_Dev encrypted_buffer,
const PP_EncryptedBlockInfo& encrypted_block_info) OVERRIDE;
« no previous file with comments | « media/base/limits.h ('k') | media/cdm/ppapi/cdm_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698