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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/untrusted/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: 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/untrusted/srpcgen/ppb_rpc.h
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h b/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h
index d5bc6e4d7098975d39fab2f18cc474f589a2e303..1b6a485e5fddf21da5d6fd919973617e41e6b0d8 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h
+++ b/ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h
@@ -585,6 +585,45 @@ class PpbGraphics3DRpcClient {
void operator=(const PpbGraphics3DRpcClient);
}; // class PpbGraphics3DRpcClient
+class PpbHostResolverPrivateRpcClient {
+ public:
+ static NaClSrpcError PPB_HostResolver_Private_Create(
+ NaClSrpcChannel* channel,
+ PP_Instance instance,
+ PP_Resource* resource);
+ static NaClSrpcError PPB_HostResolver_Private_IsHostResolver(
+ NaClSrpcChannel* channel,
+ PP_Resource resource,
+ int32_t* is_host_resolver);
+ static NaClSrpcError PPB_HostResolver_Private_Resolve(
+ NaClSrpcChannel* channel,
+ 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 NaClSrpcError PPB_HostResolver_Private_GetCanonicalName(
+ NaClSrpcChannel* channel,
+ PP_Resource host_resolver,
+ nacl_abi_size_t* canonical_name_bytes, char* canonical_name);
+ static NaClSrpcError PPB_HostResolver_Private_GetSize(
+ NaClSrpcChannel* channel,
+ PP_Resource host_resolver,
+ int32_t* size);
+ static NaClSrpcError PPB_HostResolver_Private_GetNetAddress(
+ NaClSrpcChannel* channel,
+ PP_Resource host_resolver,
+ int32_t index,
+ nacl_abi_size_t* addr_bytes, char* addr,
+ int32_t* success);
+
+ private:
+ PpbHostResolverPrivateRpcClient();
+ PpbHostResolverPrivateRpcClient(const PpbHostResolverPrivateRpcClient&);
+ void operator=(const PpbHostResolverPrivateRpcClient);
+}; // class PpbHostResolverPrivateRpcClient
+
class PpbImageDataRpcClient {
public:
static NaClSrpcError PPB_ImageData_GetNativeImageDataFormat(

Powered by Google App Engine
This is Rietveld 408576698