diff options
Diffstat (limited to 'chromium/ppapi/host/ppapi_host.h')
-rw-r--r-- | chromium/ppapi/host/ppapi_host.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/ppapi/host/ppapi_host.h b/chromium/ppapi/host/ppapi_host.h index 5a7c5c45c2a..4280c3cb745 100644 --- a/chromium/ppapi/host/ppapi_host.h +++ b/chromium/ppapi/host/ppapi_host.h @@ -6,6 +6,7 @@ #define PPAPI_HOST_PPAPI_HOST_H_ #include <map> +#include <vector> #include "base/compiler_specific.h" #include "base/memory/linked_ptr.h" @@ -24,6 +25,7 @@ namespace ppapi { namespace proxy { class ResourceMessageCallParams; class ResourceMessageReplyParams; +class SerializedHandle; } namespace host { @@ -61,6 +63,12 @@ class PPAPI_HOST_EXPORT PpapiHost : public IPC::Sender, public IPC::Listener { // Sends the given unsolicited reply message to the plugin. void SendUnsolicitedReply(PP_Resource resource, const IPC::Message& msg); + // Similar to |SendUnsolicitedReply()|, but also sends handles. + void SendUnsolicitedReplyWithHandles( + PP_Resource resource, + const IPC::Message& msg, + const std::vector<proxy::SerializedHandle>& handles); + // Create a ResourceHost with the given |nested_msg|. scoped_ptr<ResourceHost> CreateResourceHost( const proxy::ResourceMessageCallParams& params, |