5 #ifndef PPAPI_CPP_NETWORK_LIST_H_
6 #define PPAPI_CPP_NETWORK_LIST_H_
11 #include "ppapi/c/ppb_network_list.h"
12 #include "ppapi/cpp/pass_ref.h"
13 #include "ppapi/cpp/resource.h"
33 std::string
GetName(uint32_t index)
const;
37 PP_NetworkList_Type
GetType(uint32_t index)
const;
41 PP_NetworkList_State
GetState(uint32_t index)
const;
47 std::vector<NetAddress>* addresses)
const;
55 uint32_t
GetMTU(uint32_t index)
const;
60 #endif // PPAPI_CPP_NETWORK_LIST_H_
PP_NetworkList_Type GetType(uint32_t index) const
int32_t GetIpAddresses(uint32_t index, std::vector< NetAddress > *addresses) const
uint32_t GetMTU(uint32_t index) const
std::string GetDisplayName(uint32_t index) const
uint32_t GetCount() const
static bool IsAvailable()
Returns true if the required interface is available.
std::string GetName(uint32_t index) const
PP_NetworkList_State GetState(uint32_t index) const
A reference counted module resource.