diff options
author | jhorwich@chromium.org <jhorwich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-28 23:11:45 +0000 |
---|---|---|
committer | jhorwich@chromium.org <jhorwich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-28 23:11:45 +0000 |
commit | f12a383094546716230f0f4517468c6c64299e60 (patch) | |
tree | 65e825b49b2a3589b129488690080e9aa9eceaf9 /ppapi/proxy/ppb_file_ref_proxy.h | |
parent | 9a0fafb5c1fe5733282742fca8a5b5bd14e83ea6 (diff) | |
download | chromium_src-f12a383094546716230f0f4517468c6c64299e60.zip chromium_src-f12a383094546716230f0f4517468c6c64299e60.tar.gz chromium_src-f12a383094546716230f0f4517468c6c64299e60.tar.bz2 |
Implement FileRef GetPathPrivate interface for O3D
This is an implementation of a new private interface to get the filepath of a file downloaded with URLLoader and URLRequestInfo.SetStreamToFile(true). The file will be read in its entirety during a successful URLLoader.FinishStreamingToFile callback.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8604006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111805 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_file_ref_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_file_ref_proxy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/proxy/ppb_file_ref_proxy.h b/ppapi/proxy/ppb_file_ref_proxy.h index 83fee18..200d7cf 100644 --- a/ppapi/proxy/ppb_file_ref_proxy.h +++ b/ppapi/proxy/ppb_file_ref_proxy.h @@ -22,11 +22,15 @@ struct PPB_FileRef_CreateInfo; namespace proxy { +class SerializedVarReturnValue; + class PPB_FileRef_Proxy : public InterfaceProxy { public: explicit PPB_FileRef_Proxy(Dispatcher* dispatcher); virtual ~PPB_FileRef_Proxy(); + static const Info* GetPrivateInfo(); + static PP_Resource CreateProxyResource(PP_Resource file_system, const char* path); @@ -76,6 +80,8 @@ class PPB_FileRef_Proxy : public InterfaceProxy { void OnMsgRename(const HostResource& file_ref, const HostResource& new_file_ref, int callback_id); + void OnMsgGetAbsolutePath(const HostResource& host_resource, + SerializedVarReturnValue result); // Host -> Plugin message handlers. void OnMsgCallbackComplete(const HostResource& host_resource, |