Chromium Code Reviews| Index: ppapi/proxy/plugin_resource.h |
| diff --git a/ppapi/proxy/plugin_resource.h b/ppapi/proxy/plugin_resource.h |
| index 33d1996a122edc02ffe02978e1145c9586b8a85b..0e69b233998f591175236ff6eac359dabf51ad93 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 call to connect the plugin resource with the |
|
raymes
2012/12/03 15:55:18
call->function
|
| + // 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); |