summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 20:46:34 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 20:46:34 +0000
commitd92107df64e5f5da2d09794a013e33ba3200a7b3 (patch)
tree8fc635d4bafb8a6d18ef65a86e0b30c32a016616 /ppapi/c
parentea21ed66633d399a20d729dd9bdff173c5a4936e (diff)
downloadchromium_src-d92107df64e5f5da2d09794a013e33ba3200a7b3.zip
chromium_src-d92107df64e5f5da2d09794a013e33ba3200a7b3.tar.gz
chromium_src-d92107df64e5f5da2d09794a013e33ba3200a7b3.tar.bz2
More comments for PPB_Flash_TCPSocket.SSLHandshake.
BUG=None TEST=None Review URL: http://codereview.chromium.org/7780015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100758 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_flash_tcp_socket.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ppapi/c/private/ppb_flash_tcp_socket.h b/ppapi/c/private/ppb_flash_tcp_socket.h
index c761300..05eb3a0 100644
--- a/ppapi/c/private/ppb_flash_tcp_socket.h
+++ b/ppapi/c/private/ppb_flash_tcp_socket.h
@@ -55,6 +55,10 @@ struct PPB_Flash_TCPSocket {
// session cache.
// When a proxy server is used, |server_name| and |server_port| refer to the
// destination server.
+ // If the socket is not connected, or there are pending read/write requests,
+ // SSLHandshake() will fail without starting a handshake. Otherwise, any
+ // failure during the handshake process will cause the socket to be
+ // disconnected.
int32_t (*SSLHandshake)(PP_Resource tcp_socket,
const char* server_name,
uint16_t server_port,