Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Issue 16667002: Introduce PPB_TCPSocket_Dev. (Closed)

Created:
7 years, 6 months ago by yzshen1
Modified:
7 years, 6 months ago
CC:
chromium-reviews, bbudge
Visibility:
Public.

Description

Introduce PPB_TCPSocket_Dev. This change exposes the PPB_TCPSocket_Dev interface and makes it to share the same backend as PPB_TCPSocket_Private. It doesn't include: - apps permission check; - TCP socket options that PPB_TCPSocket_Private doesn't support. These will be implemented in separate CLs. BUG=247225 TEST=newly added test_tcp_socket.{h,cc}. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206014

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 7

Patch Set 4 : #

Total comments: 16

Patch Set 5 : #

Patch Set 6 : . #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1345 lines, -631 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M native_client_sdk/src/build_tools/sdk_files.list View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A ppapi/api/dev/ppb_tcp_socket_dev.idl View 1 2 3 4 5 6 1 chunk +115 lines, -0 lines 0 comments Download
A ppapi/c/dev/ppb_tcp_socket_dev.h View 1 2 3 4 5 6 1 chunk +136 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/tcp_socket_dev.h View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
A ppapi/cpp/dev/tcp_socket_dev.cc View 1 2 3 4 1 chunk +117 lines, -0 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 6 chunks +70 lines, -0 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/ppapi_sources.gypi View 1 2 3 3 chunks +5 lines, -0 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_tcp_socket_private_proxy.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + ppapi/proxy/ppb_tcp_socket_proxy.h View 1 2 3 3 chunks +11 lines, -23 lines 0 comments Download
A + ppapi/proxy/ppb_tcp_socket_proxy.cc View 13 chunks +121 lines, -81 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 3 chunks +13 lines, -0 lines 0 comments Download
M ppapi/shared_impl/api_id.h View 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/shared_impl/private/tcp_socket_private_impl.h View 3 chunks +7 lines, -80 lines 0 comments Download
M ppapi/shared_impl/private/tcp_socket_private_impl.cc View 2 chunks +15 lines, -273 lines 0 comments Download
M ppapi/shared_impl/resource.h View 1 chunk +1 line, -0 lines 0 comments Download
A + ppapi/shared_impl/tcp_socket_shared.h View 1 2 3 4 5 chunks +39 lines, -50 lines 0 comments Download
A + ppapi/shared_impl/tcp_socket_shared.cc View 1 2 3 4 14 chunks +109 lines, -123 lines 0 comments Download
M ppapi/tests/all_c_includes.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/all_cpp_includes.h View 1 chunk +1 line, -0 lines 0 comments Download
A ppapi/tests/test_tcp_socket.h View 1 1 chunk +37 lines, -0 lines 0 comments Download
A ppapi/tests/test_tcp_socket.cc View 1 2 3 4 5 1 chunk +160 lines, -0 lines 0 comments Download
M ppapi/tests/test_utils.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M ppapi/tests/test_utils.cc View 1 3 chunks +81 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev.h View 2 chunks +4 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_tcp_socket_api.h View 1 chunk +41 lines, -0 lines 0 comments Download
A ppapi/thunk/ppb_tcp_socket_dev_thunk.cc View 1 chunk +128 lines, -0 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M webkit/common/plugins/ppapi/ppapi_utils.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 2 chunks +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
yzshen1
Hi, David. Would you please take a look at this CL? This change makes PPB_TCPSocket_Dev ...
7 years, 6 months ago (2013-06-07 20:19:13 UTC) #1
dmichael (off chromium)
https://codereview.chromium.org/16667002/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/16667002/diff/1/ppapi/proxy/ppapi_messages.h#newcode1172 ppapi/proxy/ppapi_messages.h:1172: IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create, I'm a little concerned about using the same ...
7 years, 6 months ago (2013-06-10 22:31:35 UTC) #2
yzshen1
https://codereview.chromium.org/16667002/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/16667002/diff/1/ppapi/proxy/ppapi_messages.h#newcode1172 ppapi/proxy/ppapi_messages.h:1172: IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create, I agree that we must check permissions at ...
7 years, 6 months ago (2013-06-11 15:05:48 UTC) #3
yzshen1
https://codereview.chromium.org/16667002/diff/1/ppapi/proxy/ppapi_messages.h File ppapi/proxy/ppapi_messages.h (right): https://codereview.chromium.org/16667002/diff/1/ppapi/proxy/ppapi_messages.h#newcode1172 ppapi/proxy/ppapi_messages.h:1172: IPC_SYNC_MESSAGE_CONTROL2_1(PpapiHostMsg_PPBTCPSocket_Create, I agree that we must check permissions at ...
7 years, 6 months ago (2013-06-11 15:05:48 UTC) #4
yzshen1
Hi, Would you please do an OWNER review for this? Brett: content/ppapi_plugin/ppapi_thread.cc Ben: native_client_sdk/src/build_tools/sdk_files.list Thanks!
7 years, 6 months ago (2013-06-11 15:11:26 UTC) #5
dmichael (off chromium)
Have you uploaded your latest patchset? https://codereview.chromium.org/16667002/diff/11001/ppapi/shared_impl/tcp_socket_shared.cc File ppapi/shared_impl/tcp_socket_shared.cc (right): https://codereview.chromium.org/16667002/diff/11001/ppapi/shared_impl/tcp_socket_shared.cc#newcode87 ppapi/shared_impl/tcp_socket_shared.cc:87: int32_t TCPSocketShared::SSLHandshakeImpl( On ...
7 years, 6 months ago (2013-06-11 18:19:16 UTC) #6
yzshen1
On 2013/06/11 18:19:16, dmichael wrote: > Have you uploaded your latest patchset? I just uploaded ...
7 years, 6 months ago (2013-06-11 18:52:15 UTC) #7
dmichael (off chromium)
Just some nits. lgtm https://codereview.chromium.org/16667002/diff/27001/ppapi/api/dev/ppb_tcp_socket_dev.idl File ppapi/api/dev/ppb_tcp_socket_dev.idl (right): https://codereview.chromium.org/16667002/diff/27001/ppapi/api/dev/ppb_tcp_socket_dev.idl#newcode62 ppapi/api/dev/ppb_tcp_socket_dev.idl:62: * Connects to an address ...
7 years, 6 months ago (2013-06-11 21:15:26 UTC) #8
yzshen1
Thanks David! https://codereview.chromium.org/16667002/diff/27001/ppapi/api/dev/ppb_tcp_socket_dev.idl File ppapi/api/dev/ppb_tcp_socket_dev.idl (right): https://codereview.chromium.org/16667002/diff/27001/ppapi/api/dev/ppb_tcp_socket_dev.idl#newcode62 ppapi/api/dev/ppb_tcp_socket_dev.idl:62: * Connects to an address given by ...
7 years, 6 months ago (2013-06-12 05:20:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/16667002/36001
7 years, 6 months ago (2013-06-12 05:21:26 UTC) #10
binji
native_client_sdk lgtm
7 years, 6 months ago (2013-06-12 16:53:38 UTC) #11
brettw
ppapi_thread LGTM
7 years, 6 months ago (2013-06-12 16:59:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/16667002/40001
7 years, 6 months ago (2013-06-12 17:07:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/16667002/54001
7 years, 6 months ago (2013-06-12 18:19:38 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=162072
7 years, 6 months ago (2013-06-12 23:46:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/16667002/54001
7 years, 6 months ago (2013-06-12 23:56:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/16667002/54001
7 years, 6 months ago (2013-06-13 02:58:19 UTC) #17
commit-bot: I haz the power
7 years, 6 months ago (2013-06-13 06:48:37 UTC) #18
Message was sent while issue was closed.
Change committed as 206014

Powered by Google App Engine
This is Rietveld 408576698