5 #ifndef PPAPI_CPP_PRIVATE_HOST_RESOLVER_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_HOST_RESOLVER_PRIVATE_H_
10 #include "ppapi/c/pp_stdint.h"
11 #include "ppapi/c/private/ppb_host_resolver_private.h"
12 #include "ppapi/cpp/resource.h"
13 #include "ppapi/cpp/var.h"
15 struct PP_NetAddress_Private;
19 class CompletionCallback;
29 int32_t
Resolve(
const std::string& host,
31 const PP_HostResolver_Private_Hint& hint,
35 bool GetNetAddress(uint32_t index, PP_NetAddress_Private* address);
40 #endif // PPAPI_CPP_PRIVATE_HOST_RESOLVER_PRIVATE_H_
HostResolverPrivate(const InstanceHandle &instance)
static bool IsAvailable()
bool GetNetAddress(uint32_t index, PP_NetAddress_Private *address)
int32_t Resolve(const std::string &host, uint16_t port, const PP_HostResolver_Private_Hint &hint, const CompletionCallback &callback)
A generic type used for passing data types between the module and the page.
A reference counted module resource.