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

Issue 8555002: Added NaCl proxy for TCP/UDP (Closed)

Created:
9 years, 1 month ago by ygorshenin
Modified:
9 years ago
CC:
chromium-reviews, darin-cc_chromium.org, Dmitry Polukhin
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

PPB_TCPSocket_Private/PPB_UDPSocket_Private are exposed to Renderer process. BUG=105859 TEST=build, tests are in next CL with render implementation Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112426

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Total comments: 44

Patch Set 4 : Fixed issues. #

Total comments: 2

Patch Set 5 : Fixed problem in GetLocalAddress and GetRemoteAddress methods. #

Total comments: 4

Patch Set 6 : Added rpc_server suffix. #

Total comments: 2

Patch Set 7 : Added PPAPI NaCl tests. #

Total comments: 179

Patch Set 8 : Fixed issues. #

Total comments: 3

Patch Set 9 : Fixed TCP test. #

Patch Set 10 : Deleted PPAPI NaCl tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2130 lines, -0 lines) Patch
M ppapi/native_client/src/shared/ppapi_proxy/browser_globals.h View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private_rpc_server.cc View 1 2 3 4 5 6 7 1 chunk +310 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_udp_socket_private_rpc_server.cc View 1 2 3 4 5 6 7 1 chunk +226 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/build.scons View 1 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/nacl.scons View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_socket_private.h View 1 1 chunk +24 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_tcp_socket_private.cc View 1 2 3 4 5 6 7 1 chunk +293 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_udp_socket_private.h View 1 1 chunk +24 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_udp_socket_private.cc View 1 2 3 4 5 6 7 1 chunk +212 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppapi_proxy.gyp View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc View 1 2 3 4 5 6 7 2 chunks +337 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc View 1 2 3 4 5 6 7 3 chunks +281 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/ppb_tcp_socket_private.srpc View 1 2 3 4 5 6 7 1 chunk +87 lines, -0 lines 0 comments Download
A ppapi/native_client/src/shared/ppapi_proxy/ppb_udp_socket_private.srpc View 1 2 3 4 5 6 7 1 chunk +63 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/trusted/srpcgen/ppb_rpc.h View 1 2 3 4 5 6 7 2 chunks +127 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/untrusted/srpcgen/ppb_rpc.h View 1 2 3 4 5 6 7 2 chunks +110 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
ygorshenin
9 years, 1 month ago (2011-11-16 11:03:35 UTC) #1
polina
There are no tests in the CL. How do you know your code works? :) ...
9 years, 1 month ago (2011-11-18 09:52:10 UTC) #2
Dmitry Polukhin
To really test these code we need to implement renderer part - it is in ...
9 years, 1 month ago (2011-11-18 10:20:43 UTC) #3
ygorshenin
http://codereview.chromium.org/8555002/diff/4001/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc (right): http://codereview.chromium.org/8555002/diff/4001/ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc#newcode420 ppapi/native_client/src/shared/ppapi_proxy/browser_globals.cc:420: static const PPB_TCPSocket_Private *ppb = On 2011/11/18 09:52:10, polina ...
9 years, 1 month ago (2011-11-21 14:13:33 UTC) #4
ygorshenin
PTAL
9 years, 1 month ago (2011-11-22 15:30:11 UTC) #5
polina
http://codereview.chromium.org/8555002/diff/8002/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc (right): http://codereview.chromium.org/8555002/diff/8002/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc#newcode5 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc:5: // SRPC-abstraction wrappers around PPB_TCPSocket_Private functions. The original file ...
9 years, 1 month ago (2011-11-23 08:09:29 UTC) #6
ygorshenin
PTAL http://codereview.chromium.org/8555002/diff/8002/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc (right): http://codereview.chromium.org/8555002/diff/8002/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc#newcode5 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private.cc:5: // SRPC-abstraction wrappers around PPB_TCPSocket_Private functions. On 2011/11/23 ...
9 years, 1 month ago (2011-11-24 10:21:49 UTC) #7
polina
What's the status of the chrome CL that should provide a ppapi/test that we can ...
9 years ago (2011-11-28 07:55:45 UTC) #8
ygorshenin
PTAL http://codereview.chromium.org/8555002/diff/4001/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private_rpc_server.cc File ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private_rpc_server.cc (right): http://codereview.chromium.org/8555002/diff/4001/ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private_rpc_server.cc#newcode100 ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_tcp_socket_private_rpc_server.cc:100: CHECK(addr_bytes == sizeof(PP_NetAddress_Private)); On 2011/11/28 07:55:45, polina wrote: ...
9 years ago (2011-11-28 16:44:10 UTC) #9
polina
I really hoped not to have to repeat duplicate comments over and over again by ...
9 years ago (2011-11-29 05:20:47 UTC) #10
ygorshenin
http://codereview.chromium.org/8555002/diff/37001/chrome/test/ui/ppapi_uitest.cc File chrome/test/ui/ppapi_uitest.cc (right): http://codereview.chromium.org/8555002/diff/37001/chrome/test/ui/ppapi_uitest.cc#newcode202 chrome/test/ui/ppapi_uitest.cc:202: launch_arguments_.AppendArg("--allow-nacl-socket-api=127.0.0.1"); On 2011/11/29 05:20:47, polina wrote: > Is there ...
9 years ago (2011-11-29 13:25:17 UTC) #11
yzshen1
http://codereview.chromium.org/8555002/diff/43003/ppapi/tests/test_tcp_socket_private_shared.cc File ppapi/tests/test_tcp_socket_private_shared.cc (right): http://codereview.chromium.org/8555002/diff/43003/ppapi/tests/test_tcp_socket_private_shared.cc#newcode18 ppapi/tests/test_tcp_socket_private_shared.cc:18: const char* const TestTCPSocketPrivateShared::kHost = "www.google.com"; Is it possible ...
9 years ago (2011-11-29 18:26:33 UTC) #12
Dmitry Polukhin
http://codereview.chromium.org/8555002/diff/43003/ppapi/tests/test_tcp_socket_private_shared.cc File ppapi/tests/test_tcp_socket_private_shared.cc (right): http://codereview.chromium.org/8555002/diff/43003/ppapi/tests/test_tcp_socket_private_shared.cc#newcode18 ppapi/tests/test_tcp_socket_private_shared.cc:18: const char* const TestTCPSocketPrivateShared::kHost = "www.google.com"; On 2011/11/29 18:26:33, ...
9 years ago (2011-11-29 20:09:37 UTC) #13
yzshen1
http://codereview.chromium.org/8555002/diff/43003/ppapi/tests/test_tcp_socket_private_shared.cc File ppapi/tests/test_tcp_socket_private_shared.cc (right): http://codereview.chromium.org/8555002/diff/43003/ppapi/tests/test_tcp_socket_private_shared.cc#newcode18 ppapi/tests/test_tcp_socket_private_shared.cc:18: const char* const TestTCPSocketPrivateShared::kHost = "www.google.com"; On 2011/11/29 20:09:38, ...
9 years ago (2011-11-29 20:18:19 UTC) #14
polina
LGTM on the NaCl proxy stuff (after all dependencies are committed/merged and trybots are happy). ...
9 years ago (2011-11-30 01:26:21 UTC) #15
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years ago (2011-11-30 10:57:46 UTC) #16
ygorshenin
On 2011/11/30 01:26:21, polina wrote: > LGTM on the NaCl proxy stuff (after all dependencies ...
9 years ago (2011-11-30 11:17:59 UTC) #17
commit-bot: I haz the power
9 years ago (2011-11-30 11:18:30 UTC) #18
No LGTM from valid reviewers yet.

Powered by Google App Engine
This is Rietveld 408576698