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

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

Issue 6901036: Update VideoDecode PPAPI structs to be consistent with media structures, part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a few minor clean-ups Created 9 years, 8 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/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index 3cb1feae4d4ee9bf1fbcffd4a0fdf1bf1bedd25b..657e23193b90512f3a1071a2b0b80bab7a12b24a 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -16,6 +16,7 @@
#include "base/time.h"
#include "googleurl/src/gurl.h"
#include "media/video/video_decode_accelerator.h"
+#include "ppapi/c/dev/pp_video_dev.h"
#include "ppapi/c/pp_completion_callback.h"
#include "ppapi/c/pp_errors.h"
#include "ppapi/c/pp_instance.h"
@@ -61,7 +62,6 @@ class P2PTransport;
} // namespace webkit_glue
struct PP_Flash_NetAddress;
-struct PP_VideoDecoderConfig_Dev;
class TransportDIB;
@@ -251,7 +251,8 @@ class PluginDelegate {
// The caller will own the pointer returned from this.
virtual PlatformVideoDecoder* CreateVideoDecoder(
- PP_VideoDecoderConfig_Dev* decoder_config) = 0;
+ PP_VideoConfigElement* decoder_config,
+ media::VideoDecodeAccelerator::Client* client) = 0;
// The caller is responsible for calling Shutdown() on the returned pointer
// to clean up the corresponding resources allocated during this call.

Powered by Google App Engine
This is Rietveld 408576698