Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc

Issue 9834086: Revert 128763 - Broke pnacl SDK (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc (revision 128765)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc (working copy)
@@ -2231,63 +2231,6 @@
return retval;
}
-NaClSrpcError PpbNetAddressPrivateRpcClient::PPB_NetAddress_Private_GetScopeID(
- NaClSrpcChannel* channel,
- nacl_abi_size_t addr_bytes, char* addr,
- int32_t* scope_id) {
- VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
- ("%s: PPAPI calls are not supported off the main thread\n",
- __FUNCTION__));
- NaClSrpcError retval;
- retval = NaClSrpcInvokeBySignature(
- channel,
- "PPB_NetAddress_Private_GetScopeID:C:i",
- addr_bytes, addr,
- scope_id
- );
- return retval;
-}
-
-NaClSrpcError PpbNetAddressPrivateRpcClient::PPB_NetAddress_Private_CreateFromIPv4Address(
- NaClSrpcChannel* channel,
- nacl_abi_size_t ip_bytes, char* ip,
- int32_t port,
- nacl_abi_size_t* addr_bytes, char* addr) {
- VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
- ("%s: PPAPI calls are not supported off the main thread\n",
- __FUNCTION__));
- NaClSrpcError retval;
- retval = NaClSrpcInvokeBySignature(
- channel,
- "PPB_NetAddress_Private_CreateFromIPv4Address:Ci:C",
- ip_bytes, ip,
- port,
- addr_bytes, addr
- );
- return retval;
-}
-
-NaClSrpcError PpbNetAddressPrivateRpcClient::PPB_NetAddress_Private_CreateFromIPv6Address(
- NaClSrpcChannel* channel,
- nacl_abi_size_t ip_bytes, char* ip,
- int32_t scope_id,
- int32_t port,
- nacl_abi_size_t* addr_bytes, char* addr) {
- VCHECK(ppapi_proxy::PPBCoreInterface()->IsMainThread(),
- ("%s: PPAPI calls are not supported off the main thread\n",
- __FUNCTION__));
- NaClSrpcError retval;
- retval = NaClSrpcInvokeBySignature(
- channel,
- "PPB_NetAddress_Private_CreateFromIPv6Address:Cii:C",
- ip_bytes, ip,
- scope_id,
- port,
- addr_bytes, addr
- );
- return retval;
-}
-
NaClSrpcError PpbPdfRpcClient::PPB_PDF_GetLocalizedString(
NaClSrpcChannel* channel,
PP_Instance instance,

Powered by Google App Engine
This is Rietveld 408576698