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

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

Issue 10928098: Return void from all PPP CDM API interface methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 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
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 e666a7268df288eebea1ac118a82c7fcb8b7d33d..ec7c0449a7be698953b9e35d0b22ae94ea3e4d88 100644
--- a/ppapi/cpp/private/content_decryptor_private.h
+++ b/ppapi/cpp/private/content_decryptor_private.h
@@ -28,15 +28,15 @@ class ContentDecryptor_Private {
// TODO(tomfinegan): This could be optimized to pass pp::Var instead of
// strings. The change would allow the CDM wrapper to reuse vars when
// replying to the browser.
- virtual bool GenerateKeyRequest(const std::string& key_system,
+ virtual void GenerateKeyRequest(const std::string& key_system,
pp::VarArrayBuffer init_data) = 0;
- virtual bool AddKey(const std::string& session_id,
+ virtual void AddKey(const std::string& session_id,
pp::VarArrayBuffer key,
pp::VarArrayBuffer init_data) = 0;
- virtual bool CancelKeyRequest(const std::string& session_id) = 0;
- virtual bool Decrypt(pp::Buffer_Dev encrypted_buffer,
+ virtual void CancelKeyRequest(const std::string& session_id) = 0;
+ virtual void Decrypt(pp::Buffer_Dev encrypted_buffer,
const PP_EncryptedBlockInfo& encrypted_block_info) = 0;
- virtual bool DecryptAndDecode(
+ virtual void DecryptAndDecode(
pp::Buffer_Dev encrypted_buffer,
const PP_EncryptedBlockInfo& encrypted_block_info) = 0;

Powered by Google App Engine
This is Rietveld 408576698