Index: ppapi/proxy/resource_creation_proxy.cc |
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc |
index 4c2def2cc9674bfac379e0cd0b10e5a39ac92471..6c6d952bcbc2f01414380c59aaf0cf196a32cbea 100644 |
--- a/ppapi/proxy/resource_creation_proxy.cc |
+++ b/ppapi/proxy/resource_creation_proxy.cc |
@@ -43,6 +43,8 @@ |
#include "ppapi/proxy/url_request_info_resource.h" |
#include "ppapi/proxy/url_response_info_resource.h" |
#include "ppapi/proxy/video_capture_resource.h" |
+#include "ppapi/proxy/video_reader_resource.h" |
+#include "ppapi/proxy/video_writer_resource.h" |
#include "ppapi/proxy/websocket_resource.h" |
#include "ppapi/shared_impl/api_id.h" |
#include "ppapi/shared_impl/host_resource.h" |
@@ -388,6 +390,16 @@ PP_Resource ResourceCreationProxy::CreateVideoDecoder( |
instance, context3d_id, profile); |
} |
+PP_Resource ResourceCreationProxy::CreateVideoReader( |
+ PP_Instance instance) { |
+ return (new VideoReaderResource(GetConnection(), instance))->GetReference(); |
+} |
+ |
+PP_Resource ResourceCreationProxy::CreateVideoWriter( |
+ PP_Instance instance) { |
+ return (new VideoWriterResource(GetConnection(), instance))->GetReference(); |
+} |
+ |
#endif // !defined(OS_NACL) |
bool ResourceCreationProxy::Send(IPC::Message* msg) { |