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

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
« no previous file with comments | « ppapi/thunk/ppb_net_address_dev_thunk.cc ('k') | webkit/common/plugins/ppapi/ppapi_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
+ 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,
« no previous file with comments | « ppapi/thunk/ppb_net_address_dev_thunk.cc ('k') | webkit/common/plugins/ppapi/ppapi_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698