Index: ppapi/proxy/plugin_resource.h |
diff --git a/ppapi/proxy/plugin_resource.h b/ppapi/proxy/plugin_resource.h |
index 33d1996a122edc02ffe02978e1145c9586b8a85b..87440f673ded1de2efa4bb06ddd138d45a2246b8 100644 |
--- a/ppapi/proxy/plugin_resource.h |
+++ b/ppapi/proxy/plugin_resource.h |
@@ -62,6 +62,13 @@ class PPAPI_PROXY_EXPORT PluginResource : public Resource { |
// Sends a create message to the browser or renderer for the current resource. |
void SendCreate(Destination dest, const IPC::Message& msg); |
+ // When the host returnes a resource to the plugin, it will create a pending |
+ // ResourceHost and send an ID back to the plugin that identifies the pending |
+ // object. The plugin uses this function to connect the plugin resource with |
+ // the pending host resource. See also PpapiHostMsg_AttachToPendingHost. This |
+ // is in lieu of sending a create message. |
+ void AttachToPendingHost(Destination dest, int pending_host_id); |
+ |
// Sends the given IPC message as a resource request to the host |
// corresponding to this resource object and does not expect a reply. |
void Post(Destination dest, const IPC::Message& msg); |