Index: ppapi/thunk/resource_creation_api.h |
diff --git a/ppapi/thunk/resource_creation_api.h b/ppapi/thunk/resource_creation_api.h |
index c4412495869b387ac04ef800e303d0d7bdde06b8..81eeba7a99075ee549fac93573495a30ad4a27bf 100644 |
--- a/ppapi/thunk/resource_creation_api.h |
+++ b/ppapi/thunk/resource_creation_api.h |
@@ -25,6 +25,8 @@ |
struct PP_Flash_Menu; |
struct PP_FontDescription_Dev; |
struct PP_BrowserFont_Trusted_Description; |
+struct PP_NetAddress_IPv4_Dev; |
+struct PP_NetAddress_IPv6_Dev; |
struct PP_Size; |
namespace ppapi { |
@@ -143,6 +145,12 @@ class ResourceCreationAPI { |
PP_ImageDataFormat format, |
const PP_Size* size, |
PP_Bool init_to_zero) = 0; |
+ virtual PP_Resource CreateNetAddressFromIPv4Address( |
bbudge
2013/06/06 19:01:10
Could we use method overloading to shorten these n
yzshen1
2013/06/06 20:57:15
I think our style guide prefer this way.
"""
If y
|
+ PP_Instance instance, |
+ const PP_NetAddress_IPv4_Dev* ipv4_addr) = 0; |
+ virtual PP_Resource CreateNetAddressFromIPv6Address( |
+ PP_Instance instance, |
+ const PP_NetAddress_IPv6_Dev* ipv6_addr) = 0; |
virtual PP_Resource CreateNetworkMonitor( |
PP_Instance instance, |
PPB_NetworkMonitor_Callback callback, |