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

Issue 11441012: PPB_UDPSocket_Private is switched to the new Pepper proxy. (Closed)

Created:
8 years ago by ygorshenin1
Modified:
7 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, native-client-reviews_googlegroups.com, jam, Dmitry Polukhin
Visibility:
Public.

Description

PPB_UDPSocket_Private is switched to the new Pepper proxy. BUG=164370 TEST=browser_tests:*UDPSocketPrivate* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177915

Patch Set 1 #

Patch Set 2 : Fix. #

Patch Set 3 : Fix. #

Patch Set 4 : Sync. #

Total comments: 22

Patch Set 5 : Fix. #

Patch Set 6 : Deleted in-process support of udp sockets. #

Patch Set 7 : Fixed MockPluginDelegate. #

Patch Set 8 : PPB_UDPSocket_Shared is merged to UDPSocketPrivateResource. PepperUDPSocketPrivateShared is merged … #

Total comments: 9

Patch Set 9 : Sync, fix. #

Patch Set 10 : Added data size check. #

Total comments: 4

Patch Set 11 : Fix. #

Total comments: 6

Patch Set 12 : Fix, sync. #

Total comments: 2

Patch Set 13 : UDPSocketPrivate instance creation is extracted into individual section. #

Patch Set 14 : Sync. #

Patch Set 15 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+878 lines, -1537 lines) Patch
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 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, -6 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.h View 1 2 3 4 5 6 7 4 chunks +6 lines, -1 line 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -4 lines 0 comments Download
M content/browser/renderer_host/pepper/browser_ppapi_host_test.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +14 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.h View 1 2 3 4 5 6 7 9 chunks +7 lines, -43 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.cc View 1 2 3 4 5 6 7 15 chunks +29 lines, -188 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_socket_utils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +96 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_socket_utils.cc View 1 2 3 4 1 chunk +63 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket.h View 1 2 3 4 1 chunk +0 lines, -74 lines 0 comments Download
D content/browser/renderer_host/pepper/pepper_udp_socket.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -194 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_udp_socket_private_host.h View 1 2 3 4 5 6 7 8 1 chunk +119 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_udp_socket_private_host.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +354 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 12 13 14 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 12 13 14 1 chunk +4 lines, -2 lines 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 2 chunks +8 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +0 lines, -32 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 4 chunks +0 lines, -92 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 14 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +17 lines, -36 lines 0 comments Download
D ppapi/proxy/ppb_udp_socket_private_proxy.h View 1 chunk +0 lines, -53 lines 0 comments Download
D ppapi/proxy/ppb_udp_socket_private_proxy.cc View 1 chunk +0 lines, -180 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 2 chunks +3 lines, -2 lines 0 comments Download
A + ppapi/proxy/udp_socket_private_resource.h View 1 2 3 4 5 6 7 4 chunks +37 lines, -42 lines 0 comments Download
A + ppapi/proxy/udp_socket_private_resource.cc View 1 2 3 4 5 6 7 9 chunks +95 lines, -68 lines 0 comments Download
D ppapi/shared_impl/private/udp_socket_private_impl.h View 1 chunk +0 lines, -99 lines 0 comments Download
D ppapi/shared_impl/private/udp_socket_private_impl.cc View 1 chunk +0 lines, -223 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private_no_permissions.h View 3 chunks +3 lines, -5 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 14 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -13 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -28 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -16 lines 0 comments Download
M webkit/plugins/ppapi/ppb_udp_socket_private_impl.h View 1 2 3 4 1 chunk +0 lines, -35 lines 0 comments Download
M webkit/plugins/ppapi/ppb_udp_socket_private_impl.cc View 1 2 3 4 1 chunk +0 lines, -80 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 14 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/resource_creation_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 14 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
ygorshenin1
8 years ago (2012-12-05 14:04:23 UTC) #1
brettw
-> dmichael, can you take this review instead?
8 years ago (2012-12-05 19:08:46 UTC) #2
dmichael (off chromium)
https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc#newcode771 chrome/browser/nacl_host/nacl_process_host.cc:771: ipc_proxy_channel_.get(), // process_.get(), // sender Oops, this was my ...
8 years ago (2012-12-12 23:23:38 UTC) #3
ygorshenin1
PTAL https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc#newcode771 chrome/browser/nacl_host/nacl_process_host.cc:771: ipc_proxy_channel_.get(), // process_.get(), // sender On 2012/12/12 23:23:38, ...
8 years ago (2012-12-18 12:07:16 UTC) #4
dmichael (off chromium)
https://codereview.chromium.org/11441012/diff/7002/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc File content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc (right): https://codereview.chromium.org/11441012/diff/7002/content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc#newcode38 content/browser/renderer_host/pepper/browser_ppapi_host_impl.cc:38: new PepperMessageFilter(plugin_child_process_type, On 2012/12/18 12:07:16, ygorshenin1 wrote: > Because ...
8 years ago (2012-12-22 00:35:08 UTC) #5
ygorshenin1
PTAL. I merged PPB_UDPSocket_Private to UDPSocketPrivateResource and PepperUDPSocketPrivateShared to PepperUDPSocketPrivateResource (to be consistent with https://codereview.chromium.org/11411357/). ...
7 years, 12 months ago (2012-12-24 14:41:42 UTC) #6
ygorshenin1
friendly ping
7 years, 11 months ago (2013-01-09 08:16:51 UTC) #7
dmichael (off chromium)
https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc#newcode775 chrome/browser/nacl_host/nacl_process_host.cc:775: process_->GetData().type, I don't think you need this param. If ...
7 years, 11 months ago (2013-01-10 05:57:16 UTC) #8
ygorshenin1
PTAL https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://codereview.chromium.org/11441012/diff/7002/chrome/browser/nacl_host/nacl_process_host.cc#newcode775 chrome/browser/nacl_host/nacl_process_host.cc:775: process_->GetData().type, On 2013/01/10 05:57:16, dmichael wrote: > I ...
7 years, 11 months ago (2013-01-10 11:36:11 UTC) #9
dmichael (off chromium)
A few couple of nits, and 1 thing I care about (PostOnUIThreadWithRenderViewHostAndReply probably doesn't belong ...
7 years, 11 months ago (2013-01-10 17:30:46 UTC) #10
ygorshenin1
Thanks! PTAL https://codereview.chromium.org/11441012/diff/39001/content/public/browser/browser_ppapi_host.h File content/public/browser/browser_ppapi_host.h (right): https://codereview.chromium.org/11441012/diff/39001/content/public/browser/browser_ppapi_host.h#newcode127 content/public/browser/browser_ppapi_host.h:127: // Backend for PostOnUIThreadWithRenderViewAndReply. This converts the ...
7 years, 11 months ago (2013-01-11 11:42:45 UTC) #11
dmichael (off chromium)
lgtm; but you'll need some OWNERS approvals (OWNERS, see my previous message for who should ...
7 years, 11 months ago (2013-01-11 17:49:46 UTC) #12
dmichael (off chromium)
+jschuh for ppapi/proxy/ppapi_messages.h (I forgot to actually add him to reviewers before)
7 years, 11 months ago (2013-01-11 17:50:26 UTC) #13
raymes
https://chromiumcodereview.appspot.com/11441012/diff/55001/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc File content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc (right): https://chromiumcodereview.appspot.com/11441012/diff/55001/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc#newcode53 content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc:53: if (host_->GetPpapiHost()->permissions().HasPermission( Please use GetPermissions() as in the cases ...
7 years, 11 months ago (2013-01-13 20:47:57 UTC) #14
ygorshenin1
PTAL https://codereview.chromium.org/11441012/diff/55001/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc File content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc (right): https://codereview.chromium.org/11441012/diff/55001/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc#newcode53 content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc:53: if (host_->GetPpapiHost()->permissions().HasPermission( On 2013/01/13 20:47:58, raymes wrote: > ...
7 years, 11 months ago (2013-01-14 08:47:43 UTC) #15
ygorshenin1
friendly ping
7 years, 11 months ago (2013-01-15 17:21:29 UTC) #16
raymes
OWNERS lgtm for the noted files. It would be nice if doing the permissions checks ...
7 years, 11 months ago (2013-01-15 20:58:11 UTC) #17
ygorshenin1
Thanks! Brett, PTAL. https://codereview.chromium.org/11441012/diff/75003/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc File content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc (right): https://codereview.chromium.org/11441012/diff/75003/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc#newcode74 content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc:74: message.type() == PpapiHostMsg_UDPSocketPrivate_Create::ID) { On 2013/01/15 ...
7 years, 11 months ago (2013-01-16 08:13:50 UTC) #18
ygorshenin1
friendly ping
7 years, 11 months ago (2013-01-18 05:04:10 UTC) #19
jschuh
rubberstamp ipc lgtm, since this doesn't change behavior
7 years, 11 months ago (2013-01-18 05:52:04 UTC) #20
ygorshenin1
Brett, I need your OWNER review of: content/browser/ppapi_plugin_process_host.cc content/browser/renderer_host/render_process_host_impl.cc content/content_browser.gypi webkit/glue/webkit_glue.gypi chrome/browser/nacl_host/nacl_process_host.cc
7 years, 11 months ago (2013-01-18 07:42:46 UTC) #21
brettw
owners LGTM for aforementioned stuff. Thanks for doing this!
7 years, 11 months ago (2013-01-18 20:58:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/11441012/93001
7 years, 11 months ago (2013-01-21 10:37:51 UTC) #23
ygorshenin1
Many thanks!
7 years, 11 months ago (2013-01-21 10:38:09 UTC) #24
commit-bot: I haz the power
7 years, 11 months ago (2013-01-21 15:21:58 UTC) #25
Message was sent while issue was closed.
Change committed as 177915

Powered by Google App Engine
This is Rietveld 408576698