| Index: ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc
|
| diff --git a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc
|
| index 01749fcf46fba679e516f02691de07abf626e6f9..d59997b3265370764f62884a025b5c30a9d22fc4 100644
|
| --- a/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc
|
| +++ b/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_websocket_rpc_server.cc
|
| @@ -321,40 +321,3 @@ void PpbWebSocketRpcServer::PPB_WebSocket_GetURL(
|
| if (SerializeTo(&url, url_bytes, url_size))
|
| rpc->result = NACL_SRPC_RESULT_OK;
|
| }
|
| -
|
| -void PpbWebSocketRpcServer::PPB_WebSocket_SetBinaryType(
|
| - NaClSrpcRpc* rpc,
|
| - NaClSrpcClosure* done,
|
| - // inputs
|
| - PP_Resource ws,
|
| - int32_t binary_type,
|
| - // outputs
|
| - int32_t* success) {
|
| - NaClSrpcClosureRunner runner(done);
|
| - rpc->result = NACL_SRPC_RESULT_APP_ERROR;
|
| -
|
| - PP_Bool pp_success = PPBWebSocketInterface()->SetBinaryType(
|
| - ws, static_cast<PP_WebSocketBinaryType_Dev>(binary_type));
|
| - *success = PP_ToBool(pp_success);
|
| - DebugPrintf("PPB_WebSocket::SetBinaryType:: success=%d\n", *success);
|
| -
|
| - rpc->result = NACL_SRPC_RESULT_OK;
|
| -}
|
| -
|
| -void PpbWebSocketRpcServer::PPB_WebSocket_GetBinaryType(
|
| - NaClSrpcRpc* rpc,
|
| - NaClSrpcClosure* done,
|
| - // inputs
|
| - PP_Resource ws,
|
| - // outputs
|
| - int32_t* binary_type) {
|
| - NaClSrpcClosureRunner runner(done);
|
| - rpc->result = NACL_SRPC_RESULT_APP_ERROR;
|
| -
|
| - *binary_type = static_cast<int32_t>(
|
| - PPBWebSocketInterface()->GetBinaryType(ws));
|
| - DebugPrintf(
|
| - "PPB_WebSocket::GetBinaryType:: binary_type=%d\n", *binary_type);
|
| -
|
| - rpc->result = NACL_SRPC_RESULT_OK;
|
| -}
|
|
|