Index: trunk/src/ppapi/thunk/ppb_network_list_api.h |
=================================================================== |
--- trunk/src/ppapi/thunk/ppb_network_list_api.h (revision 223483) |
+++ trunk/src/ppapi/thunk/ppb_network_list_api.h (working copy) |
@@ -11,12 +11,20 @@ |
#include "ppapi/thunk/ppapi_thunk_export.h" |
namespace ppapi { |
+ |
+struct NetworkInfo; |
+typedef std::vector<NetworkInfo> NetworkList; |
+ |
namespace thunk { |
class PPAPI_THUNK_EXPORT PPB_NetworkList_API { |
public: |
virtual ~PPB_NetworkList_API() {} |
+ // This function is not exposed through the C API, but returns the |
+ // internal data for easy proxying. |
+ virtual const NetworkList& GetNetworkListData() const = 0; |
+ |
// Private API |
virtual uint32_t GetCount() = 0; |
virtual PP_Var GetName(uint32_t index) = 0; |