| Index: ppapi/cpp/private/flash_tcp_socket.cc
|
| diff --git a/ppapi/cpp/private/flash_tcp_socket.cc b/ppapi/cpp/private/flash_tcp_socket.cc
|
| index 82e6414fdfec3746b7de64a63fbccca50311311e..0dfd5184202b6b395edc586cd011dafeb733d2c1 100644
|
| --- a/ppapi/cpp/private/flash_tcp_socket.cc
|
| +++ b/ppapi/cpp/private/flash_tcp_socket.cc
|
| @@ -66,12 +66,13 @@ bool TCPSocket::GetRemoteAddress(PP_Flash_NetAddress* remote_addr) {
|
| return PP_ToBool(result);
|
| }
|
|
|
| -int32_t TCPSocket::InitiateSSL(const char* server_name,
|
| - const CompletionCallback& callback) {
|
| +int32_t TCPSocket::SSLHandshake(const char* host,
|
| + uint16_t port,
|
| + const CompletionCallback& callback) {
|
| if (!has_interface<PPB_Flash_TCPSocket>())
|
| return callback.MayForce(PP_ERROR_NOINTERFACE);
|
| - return get_interface<PPB_Flash_TCPSocket>()->InitiateSSL(
|
| - pp_resource(), server_name, callback.pp_completion_callback());
|
| + return get_interface<PPB_Flash_TCPSocket>()->SSLHandshake(
|
| + pp_resource(), host, port, callback.pp_completion_callback());
|
| }
|
|
|
| int32_t TCPSocket::Read(char* buffer,
|
|
|