| Index: ppapi/c/private/ppb_flash_tcp_socket.h
|
| diff --git a/ppapi/c/private/ppb_flash_tcp_socket.h b/ppapi/c/private/ppb_flash_tcp_socket.h
|
| index ee1d620dbcbb6fd2d78486e7b82961dfd8dee756..67e9ddb077eb611dbeba27391e139d8e51c38b6d 100644
|
| --- a/ppapi/c/private/ppb_flash_tcp_socket.h
|
| +++ b/ppapi/c/private/ppb_flash_tcp_socket.h
|
| @@ -3,7 +3,7 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -/* From private/ppb_flash_tcp_socket.idl modified Thu Nov 10 10:21:43 2011. */
|
| +/* From private/ppb_flash_tcp_socket.idl modified Tue Feb 21 10:34:59 2012. */
|
|
|
| #ifndef PPAPI_C_PRIVATE_PPB_FLASH_TCP_SOCKET_H_
|
| #define PPAPI_C_PRIVATE_PPB_FLASH_TCP_SOCKET_H_
|
| @@ -88,6 +88,20 @@ struct PPB_Flash_TCPSocket_0_2 {
|
| uint16_t server_port,
|
| struct PP_CompletionCallback callback);
|
| /**
|
| + * Returns the <code>PPB_Flash_X509Certificate</code> for a socket connection
|
| + * if an SSL connection has been established using <code>SSL_Handshake</code>.
|
| + * If no SSL connection has been established, a null resource is returned.
|
| + */
|
| + PP_Resource (*GetX509Certificate)(PP_Resource tcp_socket);
|
| + /**
|
| + * Add a trusted/untrusted chain building certificate to be used for this
|
| + * connection. The <code>PP_Resource</code> must be a
|
| + * <code>PPB_Flash_X509Certificate<code>. <code>PP_TRUE</code> is returned
|
| + * upon success.
|
| + */
|
| + PP_Bool (*AddChainBuildingCertificate)(PP_Resource certificate,
|
| + PP_Bool is_trusted);
|
| + /**
|
| * Reads data from the socket. The size of |buffer| must be at least as large
|
| * as |bytes_to_read|. May perform a partial read. Returns the number of bytes
|
| * read or an error code. If the return value is 0, then it indicates that
|
|
|