| Index: ppapi/api/private/ppb_net_address_private.idl
|
| diff --git a/ppapi/api/private/ppb_net_address_private.idl b/ppapi/api/private/ppb_net_address_private.idl
|
| index ecf6416be5d8502a843b26026b1b27be04250c46..e8a190f8b5df4e3eb3e241e2b80b3bb7ba5d607c 100644
|
| --- a/ppapi/api/private/ppb_net_address_private.idl
|
| +++ b/ppapi/api/private/ppb_net_address_private.idl
|
| @@ -12,6 +12,22 @@ label Chrome {
|
| M18 = 1.0
|
| };
|
|
|
| +[assert_size(4)]
|
| +enum PP_AddressFamily_Private {
|
| + /**
|
| + * The address family is unspecified.
|
| + */
|
| + PP_ADDRESSFAMILY_UNSPECIFIED = 0,
|
| + /**
|
| + * The Internet Protocol version 4 (IPv4) address family.
|
| + */
|
| + PP_ADDRESSFAMILY_IPV4 = 1,
|
| + /**
|
| + * The Internet Protocol version 6 (IPv6) address family.
|
| + */
|
| + PP_ADDRESSFAMILY_IPV6 = 2
|
| +};
|
| +
|
| /**
|
| * This is an opaque type holding a network address.
|
| */
|
| @@ -64,8 +80,8 @@ interface PPB_NetAddress_Private {
|
| * Gets the address family.
|
| */
|
| [version=1.0]
|
| - uint16_t GetFamily([in] PP_NetAddress_Private addr);
|
| -
|
| + PP_AddressFamily_Private GetFamily([in] PP_NetAddress_Private addr);
|
| +
|
| /**
|
| * Gets the port. The port is returned in host byte order.
|
| */
|
|
|