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

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

Issue 11023004: Update PPP side of Pepper CDM API to support video decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Set PPP interface version to 0.2 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
« no previous file with comments | « webkit/media/crypto/ppapi/cdm_wrapper.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 be8f76b264787c36abc4372bceb7ff56f35b4f96..2aeedb7f32a4f57531037cfcc7ba4b857eae825d 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -251,6 +251,7 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
void Graphics3DContextLost();
// Provides access to PPP_ContentDecryptor_Private.
+ // Note: These methods can be used with unecrypted data.
ddorwin 2012/10/02 05:36:50 Really, it's jus the D&D method(s) that this makes
Tom Finegan 2012/10/04 02:22:12 Done, I think. Moved comment above PluginInstance:
ddorwin 2012/10/04 16:37:09 The cc comment is fine, but I meant this comment s
// TODO(tomfinegan): Move decryptor methods to delegate class.
void set_decrypt_client(media::DecryptorClient* client);
bool GenerateKeyRequest(const std::string& key_system,
@@ -262,8 +263,8 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
bool 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(
- const scoped_refptr<media::DecoderBuffer>& encrypted_buffer,
+ bool DecryptAndDecodeFrame(
+ const scoped_refptr<media::DecoderBuffer>& encrypted_frame,
const media::Decryptor::DecryptCB& decrypt_cb);
// There are 2 implementations of the fullscreen interface
« no previous file with comments | « webkit/media/crypto/ppapi/cdm_wrapper.cc ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698