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

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

Issue 9235035: Add getter methods for sockaddr. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Fixing errors found by review system. Created 8 years, 11 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
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc (revision 119128)
+++ ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc (working copy)
@@ -44,5 +44,23 @@
'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[]'],
+ ]
+ },
]
}

Powered by Google App Engine
This is Rietveld 408576698