| Index: ppapi/host/ppapi_host.h
|
| diff --git a/ppapi/host/ppapi_host.h b/ppapi/host/ppapi_host.h
|
| index 748d47a531884c2497b6e985a18a425ff2e9e634..36fbbd6ece4fb75c7481b279f998c4237127f703 100644
|
| --- a/ppapi/host/ppapi_host.h
|
| +++ b/ppapi/host/ppapi_host.h
|
| @@ -6,6 +6,7 @@
|
| #define PPAPI_HOST_PPAPI_HOST_H_
|
|
|
| #include <map>
|
| +#include <set>
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/memory/linked_ptr.h"
|
| @@ -64,9 +65,17 @@ class PPAPI_HOST_EXPORT PpapiHost : public IPC::Sender, public IPC::Listener {
|
| // ownership of the pointer.
|
| void AddInstanceMessageFilter(scoped_ptr<InstanceMessageFilter> filter);
|
|
|
| + // Returns null if the resource doesn't exist.
|
| + host::ResourceHost* GetResourceHost(PP_Resource resource) const;
|
| +
|
| private:
|
| friend class InstanceMessageFilter;
|
|
|
| + void HandleResourceCall(
|
| + const proxy::ResourceMessageCallParams& params,
|
| + const IPC::Message& nested_msg,
|
| + HostMessageContext* context);
|
| +
|
| // Message handlers.
|
| void OnHostMsgResourceCall(const proxy::ResourceMessageCallParams& params,
|
| const IPC::Message& nested_msg);
|
| @@ -75,9 +84,6 @@ class PPAPI_HOST_EXPORT PpapiHost : public IPC::Sender, public IPC::Listener {
|
| const IPC::Message& nested_msg);
|
| void OnHostMsgResourceDestroyed(PP_Resource resource);
|
|
|
| - // Returns null if the resource doesn't exist.
|
| - host::ResourceHost* GetResourceHost(PP_Resource resource);
|
| -
|
| // Non-owning pointer.
|
| IPC::Sender* sender_;
|
|
|
|
|