diff options
Diffstat (limited to 'ppapi/c/trusted/ppp_broker.h')
-rw-r--r-- | ppapi/c/trusted/ppp_broker.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ppapi/c/trusted/ppp_broker.h b/ppapi/c/trusted/ppp_broker.h index 09cd570..923c1828 100644 --- a/ppapi/c/trusted/ppp_broker.h +++ b/ppapi/c/trusted/ppp_broker.h @@ -37,14 +37,16 @@ extern "C" { /** * PP_ConnectInstance_Func defines the signature that you implement to - * receive notifications when a new instance connects to the broker. + * receive notifications when a plugin instance connects to the broker. + * The broker should listen on the socket before returning. * * @param[in] instance The plugin instance connecting to the broker. - * @param[in] socket Handle to a socket the broker can use to communicate with - * the instance. + * @param[in] handle Handle to a socket the broker can use to communicate with + * the plugin. * @return PP_OK on success. Any other value on failure. */ -typedef int32_t (*PP_ConnectInstance_Func)(PP_Instance instance, int socket); +typedef int32_t (*PP_ConnectInstance_Func)(PP_Instance instance, + int32_t handle); /** * @} */ |