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

Issue 10735056: AllowBroadcast() is exposed to NaCl. (Closed)

Created:
8 years, 5 months ago by ygorshenin1
Modified:
8 years, 3 months ago
Reviewers:
bbudge, brettw, viettrungluu
CC:
chromium-reviews, yzshen+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org, Dmitry Polukhin
Base URL:
http://git.chromium.org/chromium/src.git@udp_broadcast
Visibility:
Public.

Description

AllowBroadcast() is exposed to NaCl. BUG=136797 TEST=browser_tests:*.UDPSocketPrivate Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154407

Patch Set 1 #

Patch Set 2 : Fix. #

Patch Set 3 : Fix. #

Patch Set 4 : Fixed IPC. #

Patch Set 5 : Added comments #

Patch Set 6 : Fixed comments. #

Total comments: 14

Patch Set 7 : Fix. #

Patch Set 8 : Deleted callbacks. #

Total comments: 4

Patch Set 9 : Added test that checks SetSocketFeature return codes. #

Patch Set 10 : Sync. #

Total comments: 2

Patch Set 11 : Sync. #

Total comments: 12

Patch Set 12 : Fix. #

Patch Set 13 : Deleted usage of raw interfaces. #

Patch Set 14 : Sync. #

Patch Set 15 : Sync. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+653 lines, -100 lines) Patch
M content/browser/renderer_host/pepper/pepper_message_filter.h View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +32 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket.h View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket.cc View 1 2 3 4 5 6 7 3 chunks +16 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 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 3 chunks +14 lines, -3 lines 0 comments Download
M ppapi/api/private/ppb_udp_socket_private.idl View 1 2 3 4 5 6 7 8 2 chunks +32 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_udp_socket_private.h View 1 2 3 4 5 6 7 8 6 chunks +61 lines, -4 lines 0 comments Download
M ppapi/cpp/private/udp_socket_private.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M ppapi/cpp/private/udp_socket_private.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +81 lines, -32 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/browser_ppb_udp_socket_private_rpc_server.cc View 1 2 3 4 5 6 7 8 3 chunks +35 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_udp_socket_private.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_udp_socket_private.cc View 1 2 3 4 5 6 7 3 chunks +44 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 8 1 chunk +21 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 8 2 chunks +17 lines, -0 lines 0 comments Download
M ppapi/native_client/src/shared/ppapi_proxy/ppb_udp_socket_private.srpc View 1 2 3 4 5 6 7 1 chunk +8 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 8 1 chunk +7 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 8 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +7 lines, -1 line 0 comments Download
M ppapi/proxy/ppb_udp_socket_private_proxy.cc View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -0 lines 0 comments Download
M ppapi/shared_impl/private/udp_socket_private_impl.h View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -0 lines 0 comments Download
M ppapi/shared_impl/private/udp_socket_private_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +20 lines, -0 lines 0 comments Download
M ppapi/tests/test_udp_socket_private.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +13 lines, -0 lines 0 comments Download
M ppapi/tests/test_udp_socket_private.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +137 lines, -40 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_udp_socket_private_api.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_udp_socket_private_thunk.cc View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/mock_plugin_delegate.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_udp_socket_private_impl.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_udp_socket_private_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +24 lines, -15 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
ygorshenin1
8 years, 4 months ago (2012-08-07 14:34:44 UTC) #1
ygorshenin1
+ bbudge for ppapi/native_client/*
8 years, 4 months ago (2012-08-07 14:36:28 UTC) #2
bbudge
LGTM
8 years, 4 months ago (2012-08-07 18:16:21 UTC) #3
bbudge
On 2012/08/07 18:16:21, bbudge1 wrote: > LGTM Yuzhu is on paternity leave. You might want ...
8 years, 4 months ago (2012-08-07 19:27:22 UTC) #4
ygorshenin1
- yzshen + brettw
8 years, 4 months ago (2012-08-08 07:42:48 UTC) #5
ygorshenin1
Brett, friendly ping.
8 years, 4 months ago (2012-08-13 19:03:29 UTC) #6
ygorshenin1
+ jam for content/* + viettrungluu for ppapi part
8 years, 4 months ago (2012-08-17 08:59:21 UTC) #7
jam
On 2012/08/17 08:59:21, ygorshenin1 wrote: > + jam for content/* I'm not familiar with that ...
8 years, 4 months ago (2012-08-17 16:45:22 UTC) #8
brettw
Sorry for the delay, been slammed with flapper. http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl File ppapi/api/private/ppb_udp_socket_private.idl (right): http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl#newcode43 ppapi/api/private/ppb_udp_socket_private.idl:43: [version=0.4] ...
8 years, 4 months ago (2012-08-20 04:34:45 UTC) #9
ygorshenin1
PTAL http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl File ppapi/api/private/ppb_udp_socket_private.idl (right): http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl#newcode43 ppapi/api/private/ppb_udp_socket_private.idl:43: [version=0.4] Done. Yes, callback means that the setting ...
8 years, 4 months ago (2012-08-20 12:08:01 UTC) #10
brettw
http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl File ppapi/api/private/ppb_udp_socket_private.idl (right): http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl#newcode43 ppapi/api/private/ppb_udp_socket_private.idl:43: [version=0.4] My weird that you can't set more than ...
8 years, 4 months ago (2012-08-20 17:55:15 UTC) #11
ygorshenin1
PTAL http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl File ppapi/api/private/ppb_udp_socket_private.idl (right): http://codereview.chromium.org/10735056/diff/21001/ppapi/api/private/ppb_udp_socket_private.idl#newcode43 ppapi/api/private/ppb_udp_socket_private.idl:43: [version=0.4] OK, I'll delete callbacks. On 2012/08/20 17:55:15, ...
8 years, 4 months ago (2012-08-21 12:00:27 UTC) #12
brettw
lgtm http://codereview.chromium.org/10735056/diff/19012/ppapi/shared_impl/private/udp_socket_private_impl.cc File ppapi/shared_impl/private/udp_socket_private_impl.cc (right): http://codereview.chromium.org/10735056/diff/19012/ppapi/shared_impl/private/udp_socket_private_impl.cc#newcode49 ppapi/shared_impl/private/udp_socket_private_impl.cc:49: SendSetSocketFeature(name, value); If you want to keep this ...
8 years, 4 months ago (2012-08-22 22:45:21 UTC) #13
ygorshenin1
Thanks! As test was added that checks SetSocketFeature return values, please PTAL. http://codereview.chromium.org/10735056/diff/19012/ppapi/shared_impl/private/udp_socket_private_impl.cc File ppapi/shared_impl/private/udp_socket_private_impl.cc ...
8 years, 4 months ago (2012-08-23 09:48:40 UTC) #14
viettrungluu
http://codereview.chromium.org/10735056/diff/29006/ppapi/cpp/private/udp_socket_private.cc File ppapi/cpp/private/udp_socket_private.cc (right): http://codereview.chromium.org/10735056/diff/29006/ppapi/cpp/private/udp_socket_private.cc#newcode21 ppapi/cpp/private/udp_socket_private.cc:21: Could you please add backwards compatibility with 0.3? (I.e., ...
8 years, 3 months ago (2012-08-27 18:33:54 UTC) #15
ygorshenin1
PTAL http://codereview.chromium.org/10735056/diff/29006/ppapi/cpp/private/udp_socket_private.cc File ppapi/cpp/private/udp_socket_private.cc (right): http://codereview.chromium.org/10735056/diff/29006/ppapi/cpp/private/udp_socket_private.cc#newcode21 ppapi/cpp/private/udp_socket_private.cc:21: On 2012/08/27 18:33:54, viettrungluu wrote: > Could you ...
8 years, 3 months ago (2012-08-27 19:12:47 UTC) #16
viettrungluu
http://codereview.chromium.org/10735056/diff/33042/ppapi/tests/test_udp_socket_private.h File ppapi/tests/test_udp_socket_private.h (right): http://codereview.chromium.org/10735056/diff/33042/ppapi/tests/test_udp_socket_private.h#newcode45 ppapi/tests/test_udp_socket_private.h:45: const PPB_UDPSocket_Private_0_4* interface_; On 2012/08/27 19:12:47, ygorshenin1 wrote: > ...
8 years, 3 months ago (2012-08-29 17:52:47 UTC) #17
ygorshenin1
PTAL http://codereview.chromium.org/10735056/diff/33042/ppapi/tests/test_udp_socket_private.h File ppapi/tests/test_udp_socket_private.h (right): http://codereview.chromium.org/10735056/diff/33042/ppapi/tests/test_udp_socket_private.h#newcode45 ppapi/tests/test_udp_socket_private.h:45: const PPB_UDPSocket_Private_0_4* interface_; On 2012/08/29 17:52:47, viettrungluu wrote: ...
8 years, 3 months ago (2012-08-30 05:41:59 UTC) #18
viettrungluu
LGTM, thanks.
8 years, 3 months ago (2012-08-30 20:31:32 UTC) #19
ygorshenin1
Many thanks!
8 years, 3 months ago (2012-08-31 08:42:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ygorshenin@chromium.org/10735056/49003
8 years, 3 months ago (2012-08-31 08:42:59 UTC) #21
commit-bot: I haz the power
8 years, 3 months ago (2012-08-31 08:43:10 UTC) #22
Presubmit check for 10735056-49003 failed and returned exit status 1.


Running presubmit commit checks ...

** Presubmit Warnings **
Found lines longer than 80 characters (first 5 shown).
  ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_client.cc, line 2800, 83
chars \
  ppapi/native_client/src/shared/ppapi_proxy/ppb_rpc_server.cc, line 3004, 103
chars

Presubmit checks took 4.1s to calculate.

Powered by Google App Engine
This is Rietveld 408576698