summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/resource_creation_proxy.h
diff options
context:
space:
mode:
authorteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 04:20:37 +0000
committerteravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 04:20:37 +0000
commit70f68fda44a66e0e5a1521c5732f67a3a5f04ff8 (patch)
tree46e6a99cfa0fcbeb479efb749d0b77af70ee0f05 /ppapi/proxy/resource_creation_proxy.h
parentb62b8a74b5d2d4dc1bea5b5f81c260c5f457dab1 (diff)
downloadchromium_src-70f68fda44a66e0e5a1521c5732f67a3a5f04ff8.zip
chromium_src-70f68fda44a66e0e5a1521c5732f67a3a5f04ff8.tar.gz
chromium_src-70f68fda44a66e0e5a1521c5732f67a3a5f04ff8.tar.bz2
Pepper: Move FileRef to the "new" resource proxy.
This change moves the FileRef implementation from the previous one in the "old" resource model (ppb_file_ref_impl.cc) to the "new" resource model (pepper_file_ref_host.cc), and from the renderer to the browser. As many as possible of the supporting changes were split off to other changes to minimize the size of this change. Unfortunately, a lot of changes for URLLoader had to be rolled into this change. The data structures for CreateInfo have changed, and all users of FileRef have to be moved over, which is what causes this change to be so large. TBR=dmichael@chromium.org, jschuh@chromium.org, yzshen@chromium.org BUG=225441 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=216744 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=218305 Review URL: https://chromiumcodereview.appspot.com/21966004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219911 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/resource_creation_proxy.h')
-rw-r--r--ppapi/proxy/resource_creation_proxy.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ppapi/proxy/resource_creation_proxy.h b/ppapi/proxy/resource_creation_proxy.h
index edca902..a8101db 100644
--- a/ppapi/proxy/resource_creation_proxy.h
+++ b/ppapi/proxy/resource_creation_proxy.h
@@ -38,11 +38,9 @@ class ResourceCreationProxy : public InterfaceProxy,
// ResourceCreationAPI (called in plugin).
virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE;
- virtual PP_Resource CreateFileRef(PP_Instance instance,
- PP_Resource file_system,
- const char* path) OVERRIDE;
virtual PP_Resource CreateFileRef(
- const PPB_FileRef_CreateInfo& create_info) OVERRIDE;
+ PP_Instance instance,
+ const FileRefCreateInfo& create_info) OVERRIDE;
virtual PP_Resource CreateFileSystem(PP_Instance instance,
PP_FileSystemType type) OVERRIDE;
virtual PP_Resource CreateIMEInputEvent(PP_Instance instance,