summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_file_ref_proxy.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-14 15:43:42 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-14 15:43:42 +0000
commiteccf8031b30e3f8cf85b1e0dc82e69966afa30d5 (patch)
tree6c10625135c1fd95eb316fdbf496c5a5ee220c6e /ppapi/proxy/ppb_file_ref_proxy.cc
parent1c7fa0a26fed6f48fbb2a7fe5724c5f9143610ff (diff)
downloadchromium_src-eccf8031b30e3f8cf85b1e0dc82e69966afa30d5.zip
chromium_src-eccf8031b30e3f8cf85b1e0dc82e69966afa30d5.tar.gz
chromium_src-eccf8031b30e3f8cf85b1e0dc82e69966afa30d5.tar.bz2
This implements the PPB_FileChooser resource as a new-style IPC-only resource.
Note that the new file name is file_chooser_resource in the proxy. I decided to drop the ppb_ prefix for the "new-style" files to help differentiate them, and also because it's technically wrong. PPB is an interface, and a resource "object" may support multiple interfaces. I think FooResource is easier to type and read. Review URL: https://chromiumcodereview.appspot.com/10544089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146737 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_file_ref_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_file_ref_proxy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_file_ref_proxy.cc b/ppapi/proxy/ppb_file_ref_proxy.cc
index d8ffde6..3889c77 100644
--- a/ppapi/proxy/ppb_file_ref_proxy.cc
+++ b/ppapi/proxy/ppb_file_ref_proxy.cc
@@ -217,6 +217,7 @@ bool PPB_FileRef_Proxy::OnMessageReceived(const IPC::Message& msg) {
return handled;
}
+// static
void PPB_FileRef_Proxy::SerializeFileRef(PP_Resource file_ref,
PPB_FileRef_CreateInfo* result) {
EnterResourceNoLock<PPB_FileRef_API> enter(file_ref, false);