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

Issue 9235035: Add getter methods for sockaddr. (Closed)

Created:
8 years, 11 months ago by vinaya
Modified:
8 years, 10 months ago
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org, yzshen+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Add getter methods for sockaddr. Add methods to retrieve the address family, port, and address of the sockaddr. Vinay Anantharaman <vinaya@adobe.com>; BUG=N/A TEST=Unit Tests R=brettw, yzshen

Patch Set 1 #

Patch Set 2 : Add Authors and fix pre-submit warnings. #

Patch Set 3 : Fixes for the build brekages #

Patch Set 4 : Fixing errors found by review system. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+542 lines, -32 lines) Patch
M AUTHORS View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/api/private/ppb_net_address_private.idl View 1 5 chunks +31 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_net_address_private.h View 1 4 chunks +37 lines, -4 lines 0 comments Download
M ppapi/cpp/private/net_address_private.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/cpp/private/net_address_private.cc View 1 5 chunks +42 lines, -11 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_net_address_private_rpc_server.cc View 1 2 3 1 chunk +73 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_net_address_private.cc View 1 2 2 chunks +68 lines, -1 line 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_net_address_private.srpc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc View 1 2 2 chunks +45 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M ppapi/shared_impl/private/net_address_private_impl.cc View 1 2 7 chunks +64 lines, -14 lines 7 comments Download
M ppapi/tests/test_net_address_private.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M ppapi/tests/test_net_address_private.cc View 1 2 3 3 chunks +76 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
brettw
LGTM
8 years, 11 months ago (2012-01-25 19:52:34 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vinaya@adobe.com/9235035/1
8 years, 11 months ago (2012-01-25 19:53:08 UTC) #2
commit-bot: I haz the power
Presubmit check for 9235035-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 11 months ago (2012-01-25 19:53:13 UTC) #3
viettrungluu
Hrm, someone should probably fix this up and get it committed. http://codereview.chromium.org/9235035/diff/14005/ppapi/shared_impl/private/net_address_private_impl.cc File ppapi/shared_impl/private/net_address_private_impl.cc (right): ...
8 years, 10 months ago (2012-02-13 22:26:38 UTC) #4
yzshen
Hi, Trung. (I should have updated this thread earlier.) I have made some fixes and ...
8 years, 10 months ago (2012-02-13 22:30:58 UTC) #5
yzshen1
http://codereview.chromium.org/9235035/diff/14005/ppapi/shared_impl/private/net_address_private_impl.cc File ppapi/shared_impl/private/net_address_private_impl.cc (right): http://codereview.chromium.org/9235035/diff/14005/ppapi/shared_impl/private/net_address_private_impl.cc#newcode32 ppapi/shared_impl/private/net_address_private_impl.cc:32: typedef ADDRESS_FAMILY sa_family_t; On 2012/02/13 22:26:39, viettrungluu wrote: > ...
8 years, 10 months ago (2012-02-13 22:38:41 UTC) #6
viettrungluu
On 2012/02/13 22:38:41, yzshen1 wrote: > http://codereview.chromium.org/9235035/diff/14005/ppapi/shared_impl/private/net_address_private_impl.cc > File ppapi/shared_impl/private/net_address_private_impl.cc (right): > > http://codereview.chromium.org/9235035/diff/14005/ppapi/shared_impl/private/net_address_private_impl.cc#newcode32 > ...
8 years, 10 months ago (2012-02-13 23:16:15 UTC) #7
yzshen1
8 years, 10 months ago (2012-02-13 23:22:44 UTC) #8
Sure. I will make the change.

Powered by Google App Engine
This is Rietveld 408576698