5 #ifndef PPAPI_CPP_HOST_RESOLVER_H_
6 #define PPAPI_CPP_HOST_RESOLVER_H_
8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/ppb_host_resolver.h"
10 #include "ppapi/cpp/net_address.h"
17 class CompletionCallback;
81 int32_t
Resolve(
const char* host,
83 const PP_HostResolver_Hint& hint,
115 #endif // PPAPI_CPP_HOST_RESOLVER_H_
static bool IsAvailable()
The NetAddress class represents a network address.
Definition: net_address.h:18
uint32_t GetNetAddressCount() const
Definition: completion_callback.h:26
virtual ~HostResolver()
The destructor.
Var GetCanonicalName() const
Definition: instance_handle.h:44
Definition: host_resolver.h:26
PassRef
Definition: pass_ref.h:17
HostResolver & operator=(const HostResolver &other)
int32_t Resolve(const char *host, uint16_t port, const PP_HostResolver_Hint &hint, const CompletionCallback &callback)
A generic type used for passing data types between the module and the page.
Definition: var.h:23
A reference counted module resource.
Definition: resource.h:20
NetAddress GetNetAddress(uint32_t index) const