summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/resource_creation_proxy.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 21:02:32 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 21:02:32 +0000
commit4f95dd7ca9883879dc642c2f61cff2edad412b38 (patch)
tree48daa9a31f86f5029ebe4e33ca5255e3436cd596 /ppapi/proxy/resource_creation_proxy.cc
parent7b0d86deed914f1dcf5d206259699b5f692c6d3c (diff)
downloadchromium_src-4f95dd7ca9883879dc642c2f61cff2edad412b38.zip
chromium_src-4f95dd7ca9883879dc642c2f61cff2edad412b38.tar.gz
chromium_src-4f95dd7ca9883879dc642c2f61cff2edad412b38.tar.bz2
Implement a proxy for Pepper FileIO.
This splits apart the old in-process implementation into a new object in shared_impl that does most of the general tracking. This alllows that code to be shared by the proxy. BUG=http://crbug.com/101154 Review URL: http://codereview.chromium.org/8764003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.cc')
-rw-r--r--ppapi/proxy/resource_creation_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.cc b/ppapi/proxy/resource_creation_proxy.cc
index 52cce18..e758035 100644
--- a/ppapi/proxy/resource_creation_proxy.cc
+++ b/ppapi/proxy/resource_creation_proxy.cc
@@ -15,6 +15,7 @@
#include "ppapi/proxy/ppb_buffer_proxy.h"
#include "ppapi/proxy/ppb_broker_proxy.h"
#include "ppapi/proxy/ppb_file_chooser_proxy.h"
+#include "ppapi/proxy/ppb_file_io_proxy.h"
#include "ppapi/proxy/ppb_file_ref_proxy.h"
#include "ppapi/proxy/ppb_file_system_proxy.h"
#include "ppapi/proxy/ppb_flash_menu_proxy.h"
@@ -122,8 +123,7 @@ PP_Resource ResourceCreationProxy::CreateFileChooser(
}
PP_Resource ResourceCreationProxy::CreateFileIO(PP_Instance instance) {
- NOTIMPLEMENTED(); // Not proxied yet.
- return 0;
+ return PPB_FileIO_Proxy::CreateProxyResource(instance);
}
PP_Resource ResourceCreationProxy::CreateFileRef(PP_Resource file_system,