Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: ppapi/thunk/resource_creation_api.h

Issue 16331007: Introduce PPB_NetAddress_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698