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

Unified Diff: webkit/media/webmediaplayer_impl.h

Issue 10704241: Add PpapiDecryptor which wraps a CDM plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/media/webmediaplayer_impl.h
diff --git a/webkit/media/webmediaplayer_impl.h b/webkit/media/webmediaplayer_impl.h
index 376c10f152816326b9e42245d03d1f6160a2be4c..e1cad0b15e6d932fd929387d157018243599c8b4 100644
--- a/webkit/media/webmediaplayer_impl.h
+++ b/webkit/media/webmediaplayer_impl.h
@@ -267,6 +267,12 @@ class WebMediaPlayerImpl
// Getter method to |client_|.
WebKit::WebMediaPlayerClient* GetClient();
+ // Create a plugin instance based on the |plugin_type|.
+ // TODO(xhwang): Change WebMediaPlayerClient::createHelperPlugin()'s
+ // parameter order so this can be replaced by a base::Bind().
+ scoped_refptr<webkit::ppapi::PluginInstance> CreatePluginInstance(
+ const std::string& plugin_type);
+
// Lets V8 know that player uses extra resources not managed by V8.
void IncrementExternallyAllocatedMemory();

Powered by Google App Engine
This is Rietveld 408576698