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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h

Issue 9704080: HostResolver is exposed to Native Client. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Sync. 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/trusted/srpcgen/ppb_rpc.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h b/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h
index 67cd5bed30ebc4a0bd9fb7dee83f25380be043d3..7731ded208f3f95c0f260ccf96cd3c7cd30b037b 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h
@@ -671,6 +671,51 @@ class PpbGraphics3DRpcServer {
void operator=(const PpbGraphics3DRpcServer);
}; // class PpbGraphics3DRpcServer
+class PpbHostResolverPrivateRpcServer {
+ public:
+ static void PPB_HostResolver_Private_Create(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ PP_Instance instance,
+ PP_Resource* resource);
+ static void PPB_HostResolver_Private_IsHostResolver(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ PP_Resource resource,
+ int32_t* is_host_resolver);
+ static void PPB_HostResolver_Private_Resolve(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ PP_Resource host_resolver,
+ const char* host,
+ int32_t port,
+ nacl_abi_size_t hint_bytes, char* hint,
+ int32_t callback_id,
+ int32_t* pp_error);
+ static void PPB_HostResolver_Private_GetCanonicalName(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ PP_Resource host_resolver,
+ nacl_abi_size_t* canonical_name_bytes, char* canonical_name);
+ static void PPB_HostResolver_Private_GetSize(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ PP_Resource host_resolver,
+ int32_t* size);
+ static void PPB_HostResolver_Private_GetNetAddress(
+ NaClSrpcRpc* rpc,
+ NaClSrpcClosure* done,
+ PP_Resource host_resolver,
+ int32_t index,
+ nacl_abi_size_t* addr_bytes, char* addr,
+ int32_t* success);
+
+ private:
+ PpbHostResolverPrivateRpcServer();
+ PpbHostResolverPrivateRpcServer(const PpbHostResolverPrivateRpcServer&);
+ void operator=(const PpbHostResolverPrivateRpcServer);
+}; // class PpbHostResolverPrivateRpcServer
+
class PpbImageDataRpcServer {
public:
static void PPB_ImageData_GetNativeImageDataFormat(

Powered by Google App Engine
This is Rietveld 408576698