| Index: webkit/plugins/ppapi/resource_creation_impl.cc
|
| diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
|
| index 96713c83e68672db8ac494156e0875069a0ca840..7fb4452be2aa688cbd14cc2b0a601725fa10873a 100644
|
| --- a/webkit/plugins/ppapi/resource_creation_impl.cc
|
| +++ b/webkit/plugins/ppapi/resource_creation_impl.cc
|
| @@ -26,7 +26,6 @@
|
| #include "webkit/plugins/ppapi/ppb_tcp_server_socket_private_impl.h"
|
| #include "webkit/plugins/ppapi/ppb_tcp_socket_private_impl.h"
|
| #include "webkit/plugins/ppapi/ppb_udp_socket_private_impl.h"
|
| -#include "webkit/plugins/ppapi/ppb_url_loader_impl.h"
|
| #include "webkit/plugins/ppapi/ppb_video_decoder_impl.h"
|
| #include "webkit/plugins/ppapi/ppb_x509_certificate_private_impl.h"
|
| #include "webkit/plugins/ppapi/resource_helper.h"
|
| @@ -95,6 +94,13 @@ PP_Resource ResourceCreationImpl::CreateFileRef(PP_Resource file_system,
|
| return res ? res->GetReference() : 0;
|
| }
|
|
|
| +PP_Resource ResourceCreationImpl::CreateFileRef(
|
| + const ::ppapi::PPB_FileRef_CreateInfo& serialized) {
|
| + // When we're in-process, the host resource in the create info *is* the
|
| + // resource, so we don't need to do anything.
|
| + return serialized.resource.host_resource();
|
| +}
|
| +
|
| PP_Resource ResourceCreationImpl::CreateFileSystem(
|
| PP_Instance instance,
|
| PP_FileSystemType type) {
|
| @@ -245,10 +251,6 @@ PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) {
|
| return PPB_UDPSocket_Private_Impl::CreateResource(instance);
|
| }
|
|
|
| -PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance instance) {
|
| - return (new PPB_URLLoader_Impl(instance, false))->GetReference();
|
| -}
|
| -
|
| PP_Resource ResourceCreationImpl::CreateVideoCapture(PP_Instance instance) {
|
| return 0; // VideoCapture is not supported in process now.
|
| }
|
|
|