summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_file_ref_proxy.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 04:51:07 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 04:51:07 +0000
commit6f75c95235c7ea357e180ddfb6d1cba143d87645 (patch)
treee5440672cfbe6bac4d28f6790ab1c5b4ee8b3f93 /ppapi/proxy/ppb_file_ref_proxy.h
parentecba6c3763755a5c617972d74f0d798939183260 (diff)
downloadchromium_src-6f75c95235c7ea357e180ddfb6d1cba143d87645.zip
chromium_src-6f75c95235c7ea357e180ddfb6d1cba143d87645.tar.gz
chromium_src-6f75c95235c7ea357e180ddfb6d1cba143d87645.tar.bz2
Convert FileRefImpl and URLRequestInfo to shared_impl.
One nice side effect of this change is that there are no longer any IPCs associated with the request info. Instead, we just send the parameters to the host when we open a url loader. Review URL: http://codereview.chromium.org/7706021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98391 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_file_ref_proxy.h')
-rw-r--r--ppapi/proxy/ppb_file_ref_proxy.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/ppapi/proxy/ppb_file_ref_proxy.h b/ppapi/proxy/ppb_file_ref_proxy.h
index 3ae502d..1241343 100644
--- a/ppapi/proxy/ppb_file_ref_proxy.h
+++ b/ppapi/proxy/ppb_file_ref_proxy.h
@@ -18,11 +18,10 @@ struct PPB_FileRef_Dev;
namespace ppapi {
class HostResource;
+struct PPB_FileRef_CreateInfo;
namespace proxy {
-struct PPBFileRef_CreateInfo;
-
class PPB_FileRef_Proxy : public InterfaceProxy {
public:
PPB_FileRef_Proxy(Dispatcher* dispatcher, const void* target_interface);
@@ -46,7 +45,7 @@ class PPB_FileRef_Proxy : public InterfaceProxy {
// Various PPAPI functions return file refs from various interfaces, so this
// function is public so anybody can send a file ref.
void SerializeFileRef(PP_Resource file_ref,
- PPBFileRef_CreateInfo* result);
+ PPB_FileRef_CreateInfo* result);
// Creates a plugin resource from the given CreateInfo sent from the host.
// The value will be the result of calling SerializeFileRef on the host.
@@ -56,15 +55,15 @@ class PPB_FileRef_Proxy : public InterfaceProxy {
// Various PPAPI functions return file refs from various interfaces, so this
// function is public so anybody can receive a file ref.
static PP_Resource DeserializeFileRef(
- const PPBFileRef_CreateInfo& serialized);
+ const PPB_FileRef_CreateInfo& serialized);
private:
// Message handlers.
void OnMsgCreate(const ppapi::HostResource& file_system,
const std::string& path,
- PPBFileRef_CreateInfo* result);
+ PPB_FileRef_CreateInfo* result);
void OnMsgGetParent(const ppapi::HostResource& host_resource,
- PPBFileRef_CreateInfo* result);
+ PPB_FileRef_CreateInfo* result);
void OnMsgMakeDirectory(const ppapi::HostResource& host_resource,
PP_Bool make_ancestors,
uint32_t serialized_callback);