diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-13 04:18:44 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-13 04:18:44 +0000 |
commit | be0a84b5a8b1e4e801788fc5d4f42037a88f8c45 (patch) | |
tree | 4033971ac6f11af82464359f4f4e55015eb926f0 /ppapi/proxy/ppb_flash_net_connector_proxy.h | |
parent | 5e6c226780eb1617aa9ed980c627af66685d52e4 (diff) | |
download | chromium_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_flash_net_connector_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_flash_net_connector_proxy.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ppapi/proxy/ppb_flash_net_connector_proxy.h b/ppapi/proxy/ppb_flash_net_connector_proxy.h index 67647c2..d43bd62 100644 --- a/ppapi/proxy/ppb_flash_net_connector_proxy.h +++ b/ppapi/proxy/ppb_flash_net_connector_proxy.h @@ -14,11 +14,13 @@ struct PPB_Flash_NetConnector; +namespace ppapi { +class HostResource; +} + namespace pp { namespace proxy { -class HostResource; - class PPB_Flash_NetConnector_Proxy : public InterfaceProxy { public: PPB_Flash_NetConnector_Proxy(Dispatcher* dispatcher, @@ -37,15 +39,15 @@ class PPB_Flash_NetConnector_Proxy : public InterfaceProxy { // Plugin->host message handlers. void OnMsgCreate(PP_Instance instance, - HostResource* result); - void OnMsgConnectTcp(const HostResource& resource, + ppapi::HostResource* result); + void OnMsgConnectTcp(const ppapi::HostResource& resource, const std::string& host, uint16_t port); - void OnMsgConnectTcpAddress(const HostResource& resource_id, + void OnMsgConnectTcpAddress(const ppapi::HostResource& resource_id, const std::string& net_address_as_string); // Host->plugin message handler. - void OnMsgConnectACK(const HostResource& host_resource, + void OnMsgConnectACK(const ppapi::HostResource& host_resource, int32_t result, IPC::PlatformFileForTransit handle, const std::string& load_addr_as_string, |