summaryrefslogtreecommitdiffstats
path: root/content/renderer/pepper/pepper_in_process_resource_creation.cc
diff options
context:
space:
mode:
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 00:32:34 +0000
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-17 00:32:34 +0000
commit14c0a073c3beef1eb6c72c011e8456a18d95810b (patch)
treed8e9f3590fb82b38e0dbc0a8c3f98be3138036fa /content/renderer/pepper/pepper_in_process_resource_creation.cc
parentd7908418b3a981cf0712e95c67f7d022e080daa3 (diff)
downloadchromium_src-14c0a073c3beef1eb6c72c011e8456a18d95810b.zip
chromium_src-14c0a073c3beef1eb6c72c011e8456a18d95810b.tar.gz
chromium_src-14c0a073c3beef1eb6c72c011e8456a18d95810b.tar.bz2
Revert 176792
Caused PP_ERROR_INPROGRESS when used from within Native Client. > Refactor FileIO to the new resource host system. > Taking over from Victor's CL: https://codereview.chromium.org/11419131/ > > GetOSDescriptor is done by passing raw file descriptor via in-process messaging. > > Operations are kept exclusive, but the restriction can be easily removed if needed. > > Original author=Victor Hsieh > BUG= > TEST=browser_tests --gtest_filter=PPAPINaClNewlibTest.FileIO* > > Review URL: https://chromiumcodereview.appspot.com/11824039 TBR=bbudge@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/pepper/pepper_in_process_resource_creation.cc')
-rw-r--r--content/renderer/pepper/pepper_in_process_resource_creation.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/content/renderer/pepper/pepper_in_process_resource_creation.cc b/content/renderer/pepper/pepper_in_process_resource_creation.cc
index 5976b68..3d6d12b 100644
--- a/content/renderer/pepper/pepper_in_process_resource_creation.cc
+++ b/content/renderer/pepper/pepper_in_process_resource_creation.cc
@@ -15,7 +15,6 @@
#include "ppapi/host/ppapi_host.h"
#include "ppapi/proxy/browser_font_resource_trusted.h"
#include "ppapi/proxy/file_chooser_resource.h"
-#include "ppapi/proxy/file_io_resource.h"
#include "ppapi/proxy/graphics_2d_resource.h"
#include "ppapi/proxy/ppapi_messages.h"
#include "ppapi/proxy/printing_resource.h"
@@ -69,13 +68,6 @@ PP_Resource PepperInProcessResourceCreation::CreateFileChooser(
instance, mode, accept_types))->GetReference();
}
-PP_Resource PepperInProcessResourceCreation::CreateFileIO(
- PP_Instance instance) {
- return (new ppapi::proxy::FileIOResource(
- host_impl_->in_process_router()->GetPluginConnection(),
- instance))->GetReference();
-}
-
PP_Resource PepperInProcessResourceCreation::CreateGraphics2D(
PP_Instance instance,
const PP_Size& size,