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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc

Issue 9307115: PPB_NetAddress_Private: add getter methods for sockaddr. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 10 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/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc b/ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc
index de66184ebf1adf95246e1b805645080be535cf63..6a9f5b942eb0392bcb1bfe98edb43520deba36dc 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc
@@ -44,5 +44,24 @@
'outputs': [['addr', 'char[]'], # PP_NetAddress_Private*
]
},
+ {'name': 'PPB_NetAddress_Private_GetFamily',
+ 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private*
+ ],
+ 'outputs': [['addr_family', 'int32_t'], # uint16_t
+ ]
+ },
+ {'name': 'PPB_NetAddress_Private_GetPort',
+ 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private*
+ ],
+ 'outputs': [['port', 'int32_t'], # uint16_t
+ ]
+ },
+ {'name': 'PPB_NetAddress_Private_GetAddress',
+ 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private*
+ ],
+ 'outputs': [['address', 'char[]'],
+ ['success', 'int32_t'], # PP_Bool
+ ]
+ },
]
}

Powered by Google App Engine
This is Rietveld 408576698