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

Issue 22923014: TCPSockets are switched to the new Pepper proxy. (Closed)

Created:
7 years, 4 months ago by ygorshenin1
Modified:
7 years, 3 months ago
Reviewers:
mmenke1, yzshen1, jschuh, jam, mmenke
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

TCPSockets are switched to the new Pepper proxy. BUG=230784 TEST=browser_tests:*TCPSocket*, *TCPServerSocket* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=220073

Patch Set 1 #

Patch Set 2 : Sync. #

Total comments: 60

Patch Set 3 : Fix, sync. #

Patch Set 4 : Deleted logging. #

Total comments: 13

Patch Set 5 : Fix, sync. #

Patch Set 6 : Small fix. #

Patch Set 7 : Fix for win. #

Patch Set 8 : Fix. #

Patch Set 9 : Fix. #

Total comments: 1

Patch Set 10 : Restored ppapi/host/error_conversion.{cc|h} #

Patch Set 11 : Sync. #

Patch Set 12 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1870 lines, -2780 lines) Patch
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/plugin_service_impl.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 chunks +3 lines, -5 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.h View 3 chunks +2 lines, -8 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 4 chunks +6 lines, -11 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.h View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc View 1 2 3 chunks +8 lines, -13 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_test.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h View 1 2 3 chunks +15 lines, -8 lines 0 comments Download
M content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc View 1 2 6 chunks +50 lines, -8 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.h View 1 2 4 chunks +19 lines, -152 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.cc View 1 2 5 chunks +22 lines, -352 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_renderer_connection.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_socket_utils.h View 1 2 3 4 5 6 7 2 chunks +20 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_socket_utils.cc View 2 chunks +58 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h View 1 2 3 4 5 chunks +17 lines, -8 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.cc View 1 2 9 9 chunks +27 lines, -22 lines 0 comments Download
D content/browser/renderer_host/pepper/pepper_tcp_socket.h View 1 chunk +0 lines, -148 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.h View 1 2 1 chunk +183 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_tcp_socket_message_filter.cc View 1 2 3 4 5 6 7 8 9 1 chunk +648 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -1 line 0 comments Download
A content/browser/renderer_host/pepper/ssl_context_helper.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/ssl_context_helper.cc View 1 chunk +30 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -2 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/public/browser/browser_ppapi_host.h View 2 chunks +0 lines, -5 lines 0 comments Download
D content/renderer/pepper/ppb_tcp_socket_private_impl.h View 1 chunk +0 lines, -72 lines 0 comments Download
D content/renderer/pepper/ppb_tcp_socket_private_impl.cc View 1 chunk +0 lines, -141 lines 0 comments Download
M content/renderer/pepper/resource_creation_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -2 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +11 lines, -7 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 9 10 11 3 chunks +0 lines, -6 lines 0 comments Download
A ppapi/proxy/error_conversion.h View 1 2 3 4 5 6 7 8 9 1 chunk +24 lines, -0 lines 0 comments Download
A ppapi/proxy/error_conversion.cc View 1 2 3 4 5 6 7 8 9 1 chunk +26 lines, -0 lines 0 comments Download
M ppapi/proxy/host_resolver_resource_base.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -20 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +37 lines, -68 lines 0 comments Download
D ppapi/proxy/ppb_tcp_socket_private_proxy.h View 1 chunk +0 lines, -69 lines 0 comments Download
D ppapi/proxy/ppb_tcp_socket_private_proxy.cc View 1 chunk +0 lines, -263 lines 0 comments Download
D ppapi/proxy/ppb_tcp_socket_proxy.h View 1 chunk +0 lines, -57 lines 0 comments Download
D ppapi/proxy/ppb_tcp_socket_proxy.cc View 1 chunk +0 lines, -299 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -4 lines 0 comments Download
M ppapi/proxy/tcp_server_socket_private_resource.h View 1 chunk +1 line, -3 lines 0 comments Download
M ppapi/proxy/tcp_server_socket_private_resource.cc View 1 2 5 chunks +8 lines, -18 lines 0 comments Download
A + ppapi/proxy/tcp_socket_private_resource.h View 1 2 2 chunks +21 lines, -26 lines 0 comments Download
A ppapi/proxy/tcp_socket_private_resource.cc View 1 chunk +113 lines, -0 lines 0 comments Download
A ppapi/proxy/tcp_socket_resource.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A ppapi/proxy/tcp_socket_resource.cc View 1 2 3 1 chunk +92 lines, -0 lines 0 comments Download
A + ppapi/proxy/tcp_socket_resource_base.h View 1 2 7 chunks +41 lines, -47 lines 0 comments Download
A + ppapi/proxy/tcp_socket_resource_base.cc View 1 2 3 4 5 6 7 8 9 chunks +204 lines, -169 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.cc View 1 2 3 4 5 6 7 8 6 chunks +13 lines, -23 lines 0 comments Download
M ppapi/shared_impl/api_id.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D ppapi/shared_impl/private/tcp_socket_private_impl.h View 1 chunk +0 lines, -74 lines 0 comments Download
D ppapi/shared_impl/private/tcp_socket_private_impl.cc View 1 chunk +0 lines, -115 lines 0 comments Download
D ppapi/shared_impl/tcp_socket_shared.h View 1 chunk +0 lines, -150 lines 0 comments Download
D ppapi/shared_impl/tcp_socket_shared.cc View 1 chunk +0 lines, -372 lines 0 comments Download
M ppapi/tests/test_tcp_server_socket_private.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M ppapi/tests/test_tcp_socket_private.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_tcp_socket_private.cc View 1 2 3 chunks +33 lines, -1 line 0 comments Download
M ppapi/thunk/interfaces_ppb_private_no_permissions.h View 2 chunks +3 lines, -4 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_stable.h View 1 2 3 4 9 10 11 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
ygorshenin1
7 years, 4 months ago (2013-08-16 15:11:12 UTC) #1
yzshen1
Thanks Yuri! It is great to have this cleaned up. :) A few more things ...
7 years, 4 months ago (2013-08-16 20:40:42 UTC) #2
ygorshenin1
PTAL https://codereview.chromium.org/22923014/diff/2001/content/browser/plugin_service_impl.cc File content/browser/plugin_service_impl.cc (right): https://codereview.chromium.org/22923014/diff/2001/content/browser/plugin_service_impl.cc#newcode332 content/browser/plugin_service_impl.cc:332: PpapiPluginProcessHost::PluginClient* client) { On 2013/08/16 20:40:42, yzshen1 wrote: ...
7 years, 4 months ago (2013-08-19 14:33:35 UTC) #3
yzshen1
Only a few nits left. Thanks! :) https://codereview.chromium.org/22923014/diff/64001/content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h File content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h (right): https://codereview.chromium.org/22923014/diff/64001/content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h#newcode94 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h:94: // Non-owning ...
7 years, 4 months ago (2013-08-19 19:07:07 UTC) #4
ygorshenin1
PTAL https://codereview.chromium.org/22923014/diff/64001/content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h File content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h (right): https://codereview.chromium.org/22923014/diff/64001/content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h#newcode94 content/browser/renderer_host/pepper/pepper_tcp_server_socket_message_filter.h:94: // Non-owning ptr. On 2013/08/19 19:07:07, yzshen1 wrote: ...
7 years, 4 months ago (2013-08-20 13:00:49 UTC) #5
ygorshenin1
+ Justin for ppapi/proxy/ppapi_messages.h
7 years, 4 months ago (2013-08-20 13:02:48 UTC) #6
yzshen1
LGTM Thanks! https://codereview.chromium.org/22923014/diff/64001/ppapi/proxy/pp_utils.h File ppapi/proxy/pp_utils.h (right): https://codereview.chromium.org/22923014/diff/64001/ppapi/proxy/pp_utils.h#newcode16 ppapi/proxy/pp_utils.h:16: int32_t ConvertPPError(int32_t pp_error, bool private_api); On 2013/08/20 ...
7 years, 4 months ago (2013-08-20 22:39:58 UTC) #7
ygorshenin1
Many thanks, Yuzhu! +jam for content/* +mmenke for ppapi/proxy/DEPS https://chromiumcodereview.appspot.com/22923014/diff/64001/ppapi/proxy/pp_utils.h File ppapi/proxy/pp_utils.h (right): https://chromiumcodereview.appspot.com/22923014/diff/64001/ppapi/proxy/pp_utils.h#newcode16 ppapi/proxy/pp_utils.h:16: ...
7 years, 4 months ago (2013-08-21 12:00:40 UTC) #8
mmenke1
I think it's fine to have ppapi/proxy depend on net, though I can't see why ...
7 years, 4 months ago (2013-08-21 14:32:07 UTC) #9
ygorshenin1
On 2013/08/21 14:32:07, mmenke (incorrect) wrote: > I think it's fine to have ppapi/proxy depend ...
7 years, 4 months ago (2013-08-21 14:34:53 UTC) #10
mmenke1
Ah, right, missed that the file was moved. LGTM. On 2013/08/21 14:34:53, ygorshenin1 wrote: > ...
7 years, 4 months ago (2013-08-21 14:36:35 UTC) #11
yzshen1
https://chromiumcodereview.appspot.com/22923014/diff/78002/ppapi/proxy/DEPS File ppapi/proxy/DEPS (right): https://chromiumcodereview.appspot.com/22923014/diff/78002/ppapi/proxy/DEPS#newcode7 ppapi/proxy/DEPS:7: "+net", Hmm... I am sorry I didn't realize this. ...
7 years, 4 months ago (2013-08-21 17:22:58 UTC) #12
ygorshenin1
On 2013/08/21 17:22:58, yzshen1 wrote: > https://chromiumcodereview.appspot.com/22923014/diff/78002/ppapi/proxy/DEPS > File ppapi/proxy/DEPS (right): > > https://chromiumcodereview.appspot.com/22923014/diff/78002/ppapi/proxy/DEPS#newcode7 > ...
7 years, 4 months ago (2013-08-22 07:49:46 UTC) #13
ygorshenin1
John, friendly ping.
7 years, 4 months ago (2013-08-22 07:52:29 UTC) #14
yzshen1
On 2013/08/22 07:49:46, ygorshenin1 wrote: > On 2013/08/21 17:22:58, yzshen1 wrote: > > https://chromiumcodereview.appspot.com/22923014/diff/78002/ppapi/proxy/DEPS > ...
7 years, 4 months ago (2013-08-23 04:45:56 UTC) #15
jam
On 2013/08/22 07:52:29, ygorshenin1 wrote: > John, friendly ping. (was ooo) chrome and content lgtm ...
7 years, 4 months ago (2013-08-25 16:46:37 UTC) #16
ygorshenin1
Justin, friendly ping.
7 years, 3 months ago (2013-08-26 12:10:37 UTC) #17
jschuh
ipc security lgtm
7 years, 3 months ago (2013-08-27 22:58:05 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/22923014/174001
7 years, 3 months ago (2013-08-28 08:11:04 UTC) #19
commit-bot: I haz the power
Change committed as 220073
7 years, 3 months ago (2013-08-28 19:43:03 UTC) #20
ygorshenin1
7 years, 3 months ago (2013-08-30 09:11:38 UTC) #21
Message was sent while issue was closed.
Many thanks to everybody!

Powered by Google App Engine
This is Rietveld 408576698