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_broker_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_broker_proxy.h')
-rw-r--r-- | ppapi/proxy/ppb_broker_proxy.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ppapi/proxy/ppb_broker_proxy.h b/ppapi/proxy/ppb_broker_proxy.h index efa9a98..f50291e 100644 --- a/ppapi/proxy/ppb_broker_proxy.h +++ b/ppapi/proxy/ppb_broker_proxy.h @@ -12,14 +12,15 @@ #include "ppapi/proxy/interface_proxy.h" #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" - struct PPB_BrokerTrusted; +namespace ppapi { +class HostResource; +} + namespace pp { namespace proxy { -class HostResource; - class PPB_Broker_Proxy : public InterfaceProxy { public: PPB_Broker_Proxy(Dispatcher* dispatcher, const void* target_interface); @@ -38,13 +39,14 @@ class PPB_Broker_Proxy : public InterfaceProxy { private: // Message handlers. - void OnMsgCreate(PP_Instance instance, HostResource* result_resource); - void OnMsgConnect(const HostResource& broker); - void OnMsgConnectComplete(const HostResource& broker, + void OnMsgCreate(PP_Instance instance, ppapi::HostResource* result_resource); + void OnMsgConnect(const ppapi::HostResource& broker); + void OnMsgConnectComplete(const ppapi::HostResource& broker, IPC::PlatformFileForTransit foreign_socket_handle, int32_t result); - void ConnectCompleteInHost(int32_t result, const HostResource& host_resource); + void ConnectCompleteInHost(int32_t result, + const ppapi::HostResource& host_resource); CompletionCallbackFactory<PPB_Broker_Proxy, ProxyNonThreadSafeRefCount> callback_factory_; |