Index: ppapi/proxy/resource_creation_proxy.cc |
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc |
index 74f907cf571f9133671860a05262e7a54a2ea434..71b81b658b8a73b8ec58c351cce0a701430e0c98 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_destination_resource.h" |
+#include "ppapi/proxy/video_source_resource.h" |
#include "ppapi/proxy/websocket_resource.h" |
#include "ppapi/shared_impl/api_id.h" |
#include "ppapi/shared_impl/host_resource.h" |
@@ -390,6 +392,17 @@ PP_Resource ResourceCreationProxy::CreateVideoDecoder( |
instance, context3d_id, profile); |
} |
+PP_Resource ResourceCreationProxy::CreateVideoDestination( |
+ PP_Instance instance) { |
+ return (new VideoDestinationResource(GetConnection(), |
+ instance))->GetReference(); |
+} |
+ |
+PP_Resource ResourceCreationProxy::CreateVideoSource( |
+ PP_Instance instance) { |
+ return (new VideoSourceResource(GetConnection(), instance))->GetReference(); |
+} |
+ |
#endif // !defined(OS_NACL) |
bool ResourceCreationProxy::Send(IPC::Message* msg) { |