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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.h

Issue 10928098: Return void from all PPP CDM API interface methods (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: webkit/plugins/ppapi/ppapi_plugin_instance.h
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
index 29b9129e3091e290ada3be2abc6f581d8abfe546..45be1cae99fbac03f3bd607dd27838e58a373054 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -253,16 +253,16 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
// Provides access to PPP_ContentDecryptor_Private.
// TODO(tomfinegan): Move decryptor methods to delegate class.
void set_decrypt_client(media::DecryptorClient* client);
- bool GenerateKeyRequest(const std::string& key_system,
+ void GenerateKeyRequest(const std::string& key_system,
const std::string& init_data);
- bool AddKey(const std::string& session_id,
+ void AddKey(const std::string& session_id,
const std::string& key,
const std::string& init_data);
- bool CancelKeyRequest(const std::string& session_id);
- bool Decrypt(const scoped_refptr<media::DecoderBuffer>& encrypted_buffer,
+ void CancelKeyRequest(const std::string& session_id);
+ void Decrypt(const scoped_refptr<media::DecoderBuffer>& encrypted_buffer,
const media::Decryptor::DecryptCB& decrypt_cb);
// TODO(xhwang): Update this when we need to support decrypt and decode.
- bool DecryptAndDecode(
+ void DecryptAndDecode(
const scoped_refptr<media::DecoderBuffer>& encrypted_buffer,
const media::Decryptor::DecryptCB& decrypt_cb);

Powered by Google App Engine
This is Rietveld 408576698