Chromium Code Reviews| Index: ppapi/api/private/ppb_tcp_socket_private.idl |
| diff --git a/ppapi/api/private/ppb_tcp_socket_private.idl b/ppapi/api/private/ppb_tcp_socket_private.idl |
| index ae5cba207dc60b471f21b40af202e5dab3229660..b6abbcf2688bc5d87a4de7ad5bf620ddea0e931b 100644 |
| --- a/ppapi/api/private/ppb_tcp_socket_private.idl |
| +++ b/ppapi/api/private/ppb_tcp_socket_private.idl |
| @@ -8,7 +8,8 @@ |
| */ |
| label Chrome { |
| - M17 = 0.3 |
| + M17 = 0.3, |
| + M19 = 0.4 |
|
yzshen1
2012/04/06 19:24:33
M20?
raymes
2012/04/06 23:22:47
Done.
|
| }; |
| /** |
| @@ -77,6 +78,28 @@ interface PPB_TCPSocket_Private { |
| [in] PP_CompletionCallback callback); |
| /** |
| + * Returns the server's <code>PPB_Flash_X509Certificate</code> for a socket |
|
yzshen1
2012/04/06 19:24:33
Please update the name to PPB_X509Certificate_Priv
raymes
2012/04/06 23:22:47
Done.
|
| + * connection if an SSL connection has been established using |
| + * <code>SSL_Handshake</code>. If no SSL connection has been established, a |
|
yzshen1
2012/04/06 19:24:33
No underscore in the middle.
raymes
2012/04/06 23:22:47
Done.
|
| + * null resource is returned. |
| + */ |
| + [version=0.4] |
| + PP_Resource GetServerCertificate([in] PP_Resource tcp_socket); |
| + |
| + /** |
| + * NOTE: This function is not implemented and will return |
| + * <code>PP_FALSE</code>. |
| + * Add a trusted/untrusted chain building certificate to be used for this |
|
yzshen1
2012/04/06 19:24:33
Add -> Adds.
raymes
2012/04/06 23:22:47
Done.
|
| + * connection. The <code>PP_Resource</code> must be a |
|
yzshen1
2012/04/06 19:24:33
PP_Resource -> certificate, please.
raymes
2012/04/06 23:22:47
Done.
|
| + * <code>PPB_Flash_X509Certificate<code>. <code>PP_TRUE</code> is returned |
|
yzshen1
2012/04/06 19:24:33
Please update the name to PPB_X509Certificate_Priv
raymes
2012/04/06 23:22:47
Done.
|
| + * upon success. |
| + */ |
| + [version=0.4] |
| + PP_Bool AddChainBuildingCertificate([in] PP_Resource tcp_socket, |
| + [in] PP_Resource certificate, |
| + [in] 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 |