summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_url_response_info_proxy.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 04:18:44 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-13 04:18:44 +0000
commitbe0a84b5a8b1e4e801788fc5d4f42037a88f8c45 (patch)
tree4033971ac6f11af82464359f4f4e55015eb926f0 /ppapi/proxy/ppb_url_response_info_proxy.h
parent5e6c226780eb1617aa9ed980c627af66685d52e4 (diff)
downloadchromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.zip
chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.gz
chromium_src-be0a84b5a8b1e4e801788fc5d4f42037a88f8c45.tar.bz2
Move host resource from the proxy to the shared_impl.
This is needed by my new unified resoruce tracker, which will use this file from the shared_impl in the new resource base object. I fixed up the namespaces for the callers. Longer term, I want to put the proxy in the ppapi namespace which will eliminate some of this mess. Review URL: http://codereview.chromium.org/7623018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_url_response_info_proxy.h')
-rw-r--r--ppapi/proxy/ppb_url_response_info_proxy.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ppapi/proxy/ppb_url_response_info_proxy.h b/ppapi/proxy/ppb_url_response_info_proxy.h
index ed6fb43..f181dfd 100644
--- a/ppapi/proxy/ppb_url_response_info_proxy.h
+++ b/ppapi/proxy/ppb_url_response_info_proxy.h
@@ -9,8 +9,8 @@
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_resource.h"
-#include "ppapi/proxy/host_resource.h"
#include "ppapi/proxy/interface_proxy.h"
+#include "ppapi/shared_impl/host_resource.h"
struct PPB_URLResponseInfo;
@@ -33,17 +33,18 @@ class PPB_URLResponseInfo_Proxy : public InterfaceProxy {
// HostResource representing a response info to a properly tracked
// URLReponseInfo PluginResource. Returns the plugin resource ID for the
// new resource.
- static PP_Resource CreateResponseForResource(const HostResource& resource);
+ static PP_Resource CreateResponseForResource(
+ const ppapi::HostResource& resource);
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
private:
// Message handlers.
- void OnMsgGetProperty(const HostResource& response,
+ void OnMsgGetProperty(const ppapi::HostResource& response,
int32_t property,
SerializedVarReturnValue result);
- void OnMsgGetBodyAsFileRef(const HostResource& response,
+ void OnMsgGetBodyAsFileRef(const ppapi::HostResource& response,
PPBFileRef_CreateInfo* result);
DISALLOW_COPY_AND_ASSIGN(PPB_URLResponseInfo_Proxy);