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"
11 #include "ppapi/cpp/pass_ref.h"
12 #include "ppapi/cpp/resource.h"
13 #include "ppapi/cpp/var.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.
uint32_t GetNetAddressCount() const
virtual ~HostResolver()
The destructor.
Var GetCanonicalName() const
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.
A reference counted module resource.
NetAddress GetNetAddress(uint32_t index) const