summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/resource_creation_impl.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 19:22:08 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 19:22:08 +0000
commitc761a5fda8cda6efd9e56cb5580e7da37d31dc69 (patch)
tree2b8e49647ee84096572ee8b75e6767c39e1cffda /webkit/plugins/ppapi/resource_creation_impl.cc
parentf659c69514aceb0ea27c598c305bf6ead6cf5e34 (diff)
downloadchromium_src-c761a5fda8cda6efd9e56cb5580e7da37d31dc69.zip
chromium_src-c761a5fda8cda6efd9e56cb5580e7da37d31dc69.tar.gz
chromium_src-c761a5fda8cda6efd9e56cb5580e7da37d31dc69.tar.bz2
Revert 112693 - committed before review was done - Landing 8688002: PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Browser
Review URL: http://codereview.chromium.org/8688002 Patch from Yuri Gorshenin <ygorshenin@chromium.org>. TBR=dpolukhin@chromium.org Review URL: http://codereview.chromium.org/8775063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112754 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/resource_creation_impl.cc')
-rw-r--r--webkit/plugins/ppapi/resource_creation_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/plugins/ppapi/resource_creation_impl.cc b/webkit/plugins/ppapi/resource_creation_impl.cc
index d2b57f3..ace20f8 100644
--- a/webkit/plugins/ppapi/resource_creation_impl.cc
+++ b/webkit/plugins/ppapi/resource_creation_impl.cc
@@ -25,9 +25,7 @@
#include "webkit/plugins/ppapi/ppb_graphics_3d_impl.h"
#include "webkit/plugins/ppapi/ppb_image_data_impl.h"
#include "webkit/plugins/ppapi/ppb_scrollbar_impl.h"
-#include "webkit/plugins/ppapi/ppb_tcp_socket_private_impl.h"
#include "webkit/plugins/ppapi/ppb_transport_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_url_request_info_impl.h"
#include "webkit/plugins/ppapi/ppb_video_capture_impl.h"
@@ -235,7 +233,8 @@ PP_Resource ResourceCreationImpl::CreateScrollbar(PP_Instance instance,
}
PP_Resource ResourceCreationImpl::CreateTCPSocketPrivate(PP_Instance instance) {
- return PPB_TCPSocket_Private_Impl::CreateResource(instance);
+ // Creating TCP socket resource at the renderer side is not supported.
+ return 0;
}
PP_Resource ResourceCreationImpl::CreateTransport(PP_Instance instance,
@@ -247,7 +246,8 @@ PP_Resource ResourceCreationImpl::CreateTransport(PP_Instance instance,
}
PP_Resource ResourceCreationImpl::CreateUDPSocketPrivate(PP_Instance instance) {
- return PPB_UDPSocket_Private_Impl::CreateResource(instance);
+ // Creating UDP socket resource at the renderer side is not supported.
+ return 0;
}
PP_Resource ResourceCreationImpl::CreateURLLoader(PP_Instance instance) {