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

Unified Diff: ppapi/proxy/ppb_video_decoder_proxy.h

Issue 7779001: Replace the use of an int32* with a proper struct for decoder configuration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replaced struct with explicit profile parameter. Created 9 years, 4 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/proxy/ppb_video_decoder_proxy.h
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.h b/ppapi/proxy/ppb_video_decoder_proxy.h
index 56c21c5906c76c6e1cc07a841fdd7b4b6128d3fe..b34cb2257be11ad52c22848234c6dcf040f0091e 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.h
+++ b/ppapi/proxy/ppb_video_decoder_proxy.h
@@ -23,9 +23,10 @@ class PPB_VideoDecoder_Proxy : public InterfaceProxy {
static const Info* GetInfo();
// Creates a VideoDecoder object in the plugin process.
- static PP_Resource CreateProxyResource(PP_Instance instance,
- PP_Resource graphics_context,
- const PP_VideoConfigElement* config);
+ static PP_Resource CreateProxyResource(
+ PP_Instance instance,
+ PP_Resource graphics_context,
+ PP_VideoDecoder_Profile profile);
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
@@ -39,7 +40,7 @@ class PPB_VideoDecoder_Proxy : public InterfaceProxy {
// plugin process.
void OnMsgCreate(PP_Instance instance,
const ppapi::HostResource& graphics_context,
- const std::vector<PP_VideoConfigElement>& config,
+ PP_VideoDecoder_Profile profile,
ppapi::HostResource* result);
void OnMsgDecode(
const ppapi::HostResource& decoder,

Powered by Google App Engine
This is Rietveld 408576698