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

Issue 704133005: Pepper: Add support for multicast in PPB_UDPSocket API (Closed)

Created:
6 years, 1 month ago by etrunko
Modified:
5 years, 9 months ago
Reviewers:
bbudge, ygorshenin1, dcheng, jwd
CC:
binji+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, ihf+watch_chromium.org, jam, nfullagar1, noelallen1, piman+watch_chromium.org, raymes+watch_chromium.org, teravest+watch_chromium.org, tzik, yusukes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for multicast in PPB_UDPSocket API This change introduces two new values to be used with SetOption(), to set up the behavior of the multicast packets: - PP_UDPSOCKET_OPTION_MULTICAST_LOOP (Boolean) Whether packets sent from the host to the multicast group will be looped back to the host or not. - PP_UDPSOCKET_OPTION_MULTICAST_TTL (Integer) Sets time-to-live of multicast packets sent to the multicast group. It also introduces two new functions JoinGroup() and LeaveGroup(), both of them expecting the address of the multicast group as specified by the PPB_NetAddress API. These two functions should only be called after the socket is bound. This CL adds specific test cases to browser_tests in order to exercise the different versions of the SetOption function. For this reason, the PPAPI UDPSocket tests were split into multiple tests, instead of a single one that enclosed all of them. This way we get clearer information about the results of each test. BUG=430939 TEST=browser_tests NOPRESUBMIT=true Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>; Committed: https://crrev.com/8171d46410b1ea937b0ae59577b9b36ed151149a Cr-Commit-Position: refs/heads/master@{#320504}

Patch Set 1 #

Patch Set 2 : Rebase, initial unit tests #

Total comments: 10

Patch Set 3 : Rebase, version new enum values #

Total comments: 1

Patch Set 4 : Rebase, remove IF option, JoinGroup and LeaveGroup as functions #

Total comments: 16

Patch Set 5 : Fixes as suggested in #20, tests for SetOption_1_0 and SetOption_1_1 #

Total comments: 2

Patch Set 6 : Restore mistakenly removed lines #

Total comments: 11

Patch Set 7 : Fix unit tests, thunk code auto generated #

Total comments: 8

Patch Set 8 : Rebase #

Total comments: 17

Patch Set 9 : M43 #

Total comments: 1

Patch Set 10 : fix nit #

Total comments: 13

Patch Set 11 : Replace socket_.get() tests with socket_ #

Patch Set 12 : Check for dev channel and permissions for Multicast membership #

Total comments: 7

Patch Set 13 : Properly check for permissions, restore check for API version 1.2 so all trybots are happy #

Total comments: 16

Patch Set 14 : C++ wrappers #

Patch Set 15 : Use namespace for GetAnyAddress call in order to fix windows build #

Total comments: 7

Patch Set 16 : Add missing declaration to interfaces_ppb_public_dev_channel.h, bots are happy now #

Total comments: 2

Patch Set 17 : Fix check for permissions to use multicast API #

Patch Set 18 : Rebase #

Patch Set 19 : histograms.xml #

Patch Set 20 : Add debug to tests #

Patch Set 21 : debug in pepper_udp_socket_message_filter.cc #

Patch Set 22 : more detailed debug #

Patch Set 23 : debug in upd_socket_libevent.cc #

Patch Set 24 : debug in SetMulticastOptions() #

Total comments: 1

Patch Set 25 : Fix typo: SetMulticastInterface -> SetMulticastTimeToLive #

Unified diffs Side-by-side diffs Delta from patch set Stats (+865 lines, -77 lines) Patch
M chrome/test/ppapi/ppapi_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +31 lines, -24 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +13 lines, -1 line 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 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 12 chunks +152 lines, -3 lines 0 comments Download
M ppapi/api/ppb_udp_socket.idl View 1 2 3 4 5 6 7 8 3 chunks +82 lines, -2 lines 0 comments Download
M ppapi/c/ppb_udp_socket.h View 1 2 3 4 5 6 7 8 6 chunks +81 lines, -5 lines 0 comments Download
M ppapi/cpp/udp_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +24 lines, -0 lines 0 comments Download
M ppapi/cpp/udp_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +53 lines, -2 lines 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +75 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 14 15 16 17 2 chunks +7 lines, -1 line 0 comments Download
M ppapi/proxy/udp_socket_resource.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M ppapi/proxy/udp_socket_resource.cc View 1 2 3 4 2 chunks +37 lines, -0 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.h View 1 2 3 4 2 chunks +6 lines, -2 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.cc View 1 2 3 4 5 6 6 chunks +58 lines, -6 lines 0 comments Download
M ppapi/shared_impl/private/net_address_private_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/shared_impl/private/net_address_private_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/tests/test_udp_socket.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +19 lines, -0 lines 0 comments Download
M ppapi/tests/test_udp_socket.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +132 lines, -4 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_public_dev_channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/thunk/ppb_udp_socket_api.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_udp_socket_thunk.cc View 1 2 3 4 5 6 5 chunks +70 lines, -27 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 84 (12 generated)
etrunko
PTAL
6 years, 1 month ago (2014-11-10 19:56:41 UTC) #2
yzshen1
Removed myself from the reviewer list and added Bill. Hi, Bill. Would you please take ...
6 years, 1 month ago (2014-11-10 20:40:02 UTC) #4
bbudge
A couple of high level comments: 1) We'll probably have to version the API to ...
6 years, 1 month ago (2014-11-10 22:20:15 UTC) #5
ygorshenin1
https://codereview.chromium.org/704133005/diff/20001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/20001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode221 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:221: else if (family == PP_NETADDRESS_FAMILY_IPV6) { nit: joint lines ...
6 years, 1 month ago (2014-11-14 08:03:43 UTC) #6
etrunko
https://codereview.chromium.org/704133005/diff/20001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/20001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode221 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:221: else if (family == PP_NETADDRESS_FAMILY_IPV6) { On 2014/11/14 08:03:43, ...
6 years, 1 month ago (2014-11-17 17:45:10 UTC) #7
etrunko
On 2014/11/10 22:20:15, bbudge wrote: > A couple of high level comments: > > 1) ...
6 years, 1 month ago (2014-11-17 17:50:06 UTC) #8
ygorshenin1
On 2014/11/17 17:50:06, etrunko wrote: > On 2014/11/10 22:20:15, bbudge wrote: > > A couple ...
6 years, 1 month ago (2014-11-18 09:00:31 UTC) #9
etrunko
On 2014/11/17 17:50:06, etrunko wrote: > On 2014/11/10 22:20:15, bbudge wrote: > > A couple ...
6 years ago (2014-12-03 13:48:14 UTC) #10
bbudge
On 2014/12/03 13:48:14, etrunko wrote: > On 2014/11/17 17:50:06, etrunko wrote: > > On 2014/11/10 ...
6 years ago (2014-12-11 17:22:35 UTC) #11
etrunko
On 2014/12/11 17:22:35, bbudge wrote: > > That CL finally landed. Can you rebase the ...
6 years ago (2014-12-11 18:36:21 UTC) #12
etrunko
On 2014/12/11 18:36:21, etrunko wrote: > On 2014/12/11 17:22:35, bbudge wrote: > > > > ...
6 years ago (2014-12-11 19:38:09 UTC) #13
etrunko
bbudge@ PTAL I uploaded this new version with the changes suggested and also following the ...
6 years ago (2014-12-17 17:39:36 UTC) #14
bbudge
On 2014/12/17 17:39:36, etrunko wrote: > bbudge@ PTAL > > I uploaded this new version ...
5 years, 10 months ago (2015-02-05 22:36:58 UTC) #15
bbudge
On 2015/02/05 22:36:58, bbudge wrote: > On 2014/12/17 17:39:36, etrunko wrote: > > bbudge@ PTAL ...
5 years, 10 months ago (2015-02-05 22:39:50 UTC) #16
bbudge
On 2015/02/05 22:39:50, bbudge wrote: > On 2015/02/05 22:36:58, bbudge wrote: > > On 2014/12/17 ...
5 years, 10 months ago (2015-02-05 23:01:52 UTC) #17
bbudge
On 2015/02/05 23:01:52, bbudge wrote: > On 2015/02/05 22:39:50, bbudge wrote: > > On 2015/02/05 ...
5 years, 10 months ago (2015-02-05 23:31:58 UTC) #18
etrunko
On 2015/02/05 23:31:58, bbudge wrote: > > > > > > > > I'm not ...
5 years, 10 months ago (2015-02-06 13:02:39 UTC) #19
bbudge
https://codereview.chromium.org/704133005/diff/60001/ppapi/api/ppb_udp_socket.idl File ppapi/api/ppb_udp_socket.idl (right): https://codereview.chromium.org/704133005/diff/60001/ppapi/api/ppb_udp_socket.idl#newcode13 ppapi/api/ppb_udp_socket.idl:13: M42 = 1.2 This should be 'dev' channel until ...
5 years, 10 months ago (2015-02-13 00:03:16 UTC) #20
etrunko
New version coming soon. https://codereview.chromium.org/704133005/diff/60001/ppapi/api/ppb_udp_socket.idl File ppapi/api/ppb_udp_socket.idl (right): https://codereview.chromium.org/704133005/diff/60001/ppapi/api/ppb_udp_socket.idl#newcode13 ppapi/api/ppb_udp_socket.idl:13: M42 = 1.2 On 2015/02/13 ...
5 years, 10 months ago (2015-02-13 20:19:59 UTC) #21
bbudge
https://codereview.chromium.org/704133005/diff/80001/ppapi/proxy/udp_socket_resource_base.cc File ppapi/proxy/udp_socket_resource_base.cc (left): https://codereview.chromium.org/704133005/diff/80001/ppapi/proxy/udp_socket_resource_base.cc#oldcode160 ppapi/proxy/udp_socket_resource_base.cc:160: recvfrom_addr_resource_ = addr; Why did these get removed?
5 years, 10 months ago (2015-02-17 15:46:58 UTC) #22
etrunko
https://codereview.chromium.org/704133005/diff/80001/ppapi/proxy/udp_socket_resource_base.cc File ppapi/proxy/udp_socket_resource_base.cc (left): https://codereview.chromium.org/704133005/diff/80001/ppapi/proxy/udp_socket_resource_base.cc#oldcode160 ppapi/proxy/udp_socket_resource_base.cc:160: recvfrom_addr_resource_ = addr; On 2015/02/17 15:46:57, bbudge wrote: > ...
5 years, 10 months ago (2015-02-19 12:47:56 UTC) #23
bbudge
https://codereview.chromium.org/704133005/diff/100001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/100001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode348 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:348: We should add a TODO comment here to check ...
5 years, 10 months ago (2015-02-19 21:27:05 UTC) #24
etrunko
https://codereview.chromium.org/704133005/diff/100001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/100001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode348 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:348: On 2015/02/19 21:27:04, bbudge wrote: > We should add ...
5 years, 10 months ago (2015-02-23 22:09:10 UTC) #25
etrunko
https://codereview.chromium.org/704133005/diff/120001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/120001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode349 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:349: // TODO(etrunko) Check that app has multicast permission. Although ...
5 years, 10 months ago (2015-02-23 22:22:15 UTC) #26
etrunko
bbudge@ PTAL
5 years, 9 months ago (2015-02-27 18:46:43 UTC) #27
bbudge
Misc comments, getting close. Could you edit the issue to describe your change to browser_tests ...
5 years, 9 months ago (2015-03-02 16:03:09 UTC) #28
etrunko
https://codereview.chromium.org/704133005/diff/140001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/140001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode33 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:33: #include "ppapi/thunk/ppb_net_address_api.h" On 2015/03/02 16:03:08, bbudge wrote: > The ...
5 years, 9 months ago (2015-03-02 20:34:10 UTC) #29
bbudge
LGTM https://codereview.chromium.org/704133005/diff/160001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h (right): https://codereview.chromium.org/704133005/diff/160001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h#newcode142 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h:142: // Multicast options nit: // Multicast options, if ...
5 years, 9 months ago (2015-03-04 18:30:06 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/704133005/180001
5 years, 9 months ago (2015-03-04 18:52:09 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/47267)
5 years, 9 months ago (2015-03-04 19:16:18 UTC) #35
etrunko
Pre submit bot is failing because I increased the milestone to M43. https://codereview.chromium.org/704133005/diff/180001/ppapi/api/ppb_udp_socket.idl File ppapi/api/ppb_udp_socket.idl ...
5 years, 9 months ago (2015-03-04 19:21:47 UTC) #36
bbudge
On 2015/03/04 19:21:47, etrunko wrote: > Pre submit bot is failing because I increased the ...
5 years, 9 months ago (2015-03-04 21:14:58 UTC) #37
etrunko
On 2015/03/04 21:14:58, bbudge wrote: > On 2015/03/04 19:21:47, etrunko wrote: > > Pre submit ...
5 years, 9 months ago (2015-03-04 22:00:05 UTC) #39
etrunko
bbudge, The *_rel bots are failing in those tests which I checked for the API ...
5 years, 9 months ago (2015-03-05 15:05:47 UTC) #40
etrunko
bbudge, The *_rel bots are failing in those tests which I checked for the API ...
5 years, 9 months ago (2015-03-05 15:05:52 UTC) #41
dcheng
https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode217 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:217: if (socket_.get()) No .get(). https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode236 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:236: if (socket_.get()) Ditto. ...
5 years, 9 months ago (2015-03-05 15:34:49 UTC) #42
bbudge
https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode344 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:344: // TODO(etrunko) Check that app has multicast permission. On ...
5 years, 9 months ago (2015-03-05 16:42:55 UTC) #43
dcheng
On 2015/03/05 at 16:42:55, bbudge wrote: > https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc > File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): > > https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode344 ...
5 years, 9 months ago (2015-03-05 16:48:11 UTC) #44
etrunko
https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode217 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:217: if (socket_.get()) On 2015/03/05 15:34:49, dcheng wrote: > No ...
5 years, 9 months ago (2015-03-05 17:07:12 UTC) #45
dcheng
https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/180001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode335 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:335: if (!socket_.get()) On 2015/03/05 17:07:12, etrunko wrote: > On ...
5 years, 9 months ago (2015-03-05 17:08:29 UTC) #46
etrunko
On 2015/03/05 17:08:29, dcheng wrote: > > No, let's just change the ones that were ...
5 years, 9 months ago (2015-03-05 18:19:59 UTC) #47
bbudge
On 2015/03/05 16:48:11, dcheng wrote: > On 2015/03/05 at 16:42:55, bbudge wrote: > > > ...
5 years, 9 months ago (2015-03-05 18:43:54 UTC) #48
bbudge
Eduardo, it turns out that we need to check that we actually are on 'Dev' ...
5 years, 9 months ago (2015-03-05 19:04:31 UTC) #49
bbudge
To add permission checks, follow the pattern used by PPB_Compositor, which is a dev only ...
5 years, 9 months ago (2015-03-05 19:09:45 UTC) #50
etrunko
On 2015/03/05 19:09:45, bbudge wrote: > To add permission checks, follow the pattern used by ...
5 years, 9 months ago (2015-03-05 21:03:29 UTC) #51
bbudge
On 2015/03/05 21:03:29, etrunko wrote: > On 2015/03/05 19:09:45, bbudge wrote: > > To add ...
5 years, 9 months ago (2015-03-05 21:39:58 UTC) #52
bbudge
https://codereview.chromium.org/704133005/diff/220001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/220001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode211 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:211: case PP_UDPSOCKET_OPTION_MULTICAST_LOOP: { check permissions https://codereview.chromium.org/704133005/diff/220001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode229 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:229: case PP_UDPSOCKET_OPTION_MULTICAST_TTL: ...
5 years, 9 months ago (2015-03-05 22:02:18 UTC) #53
etrunko
On 2015/03/05 22:02:18, bbudge wrote: > https://codereview.chromium.org/704133005/diff/220001/content/public/renderer/content_renderer_client.h#newcode298 > content/public/renderer/content_renderer_client.h:298: virtual bool > IsPluginAllowedToUseMulticastAPI(); > On ...
5 years, 9 months ago (2015-03-06 17:54:31 UTC) #54
bbudge
On 2015/03/06 17:54:31, etrunko wrote: > On 2015/03/05 22:02:18, bbudge wrote: > > > https://codereview.chromium.org/704133005/diff/220001/content/public/renderer/content_renderer_client.h#newcode298 ...
5 years, 9 months ago (2015-03-06 18:10:46 UTC) #55
etrunko
On 2015/03/06 18:10:46, bbudge wrote: > On 2015/03/06 17:54:31, etrunko wrote: > > On 2015/03/05 ...
5 years, 9 months ago (2015-03-06 21:01:08 UTC) #56
bbudge
On 2015/03/06 21:01:08, etrunko wrote: > On 2015/03/06 18:10:46, bbudge wrote: > > On 2015/03/06 ...
5 years, 9 months ago (2015-03-06 21:05:08 UTC) #57
etrunko
On 2015/03/06 21:05:08, bbudge wrote: > Right, that's because the UDP socket message filter lives ...
5 years, 9 months ago (2015-03-06 21:46:34 UTC) #58
bbudge
https://codereview.chromium.org/704133005/diff/240001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/240001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode215 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:215: PP_FromBool(false), &any_addr); s/PP_FromBool(false)/PP_FALSE https://codereview.chromium.org/704133005/diff/240001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode239 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:239: PP_FromBool(false), &any_addr); PP_FALSE https://codereview.chromium.org/704133005/diff/240001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode686 ...
5 years, 9 months ago (2015-03-07 00:52:22 UTC) #59
etrunko
https://codereview.chromium.org/704133005/diff/240001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/240001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode215 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:215: PP_FromBool(false), &any_addr); On 2015/03/07 00:52:21, bbudge wrote: > s/PP_FromBool(false)/PP_FALSE ...
5 years, 9 months ago (2015-03-09 17:24:30 UTC) #60
bbudge
Again, LGTM
5 years, 9 months ago (2015-03-09 17:45:48 UTC) #61
dcheng
https://codereview.chromium.org/704133005/diff/240001/ppapi/tests/test_udp_socket.h File ppapi/tests/test_udp_socket.h (right): https://codereview.chromium.org/704133005/diff/240001/ppapi/tests/test_udp_socket.h#newcode16 ppapi/tests/test_udp_socket.h:16: typedef int32_t (*UDPSocketSetOption)(PP_Resource udp_socket, We prefer using foo = ...
5 years, 9 months ago (2015-03-09 21:14:33 UTC) #62
etrunko
https://codereview.chromium.org/704133005/diff/240001/ppapi/tests/test_udp_socket.h File ppapi/tests/test_udp_socket.h (right): https://codereview.chromium.org/704133005/diff/240001/ppapi/tests/test_udp_socket.h#newcode16 ppapi/tests/test_udp_socket.h:16: typedef int32_t (*UDPSocketSetOption)(PP_Resource udp_socket, On 2015/03/09 21:14:33, dcheng wrote: ...
5 years, 9 months ago (2015-03-09 22:18:10 UTC) #63
etrunko
5 years, 9 months ago (2015-03-09 22:18:16 UTC) #64
dcheng
lgtm
5 years, 9 months ago (2015-03-09 22:20:09 UTC) #65
etrunko
https://codereview.chromium.org/704133005/diff/280001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/280001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode215 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:215: int32_t ret = CanUseMulticastAPI(any_addr); One last question, there CanUseSocketAPIs ...
5 years, 9 months ago (2015-03-09 22:33:45 UTC) #66
bbudge
https://codereview.chromium.org/704133005/diff/280001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/280001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode215 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:215: int32_t ret = CanUseMulticastAPI(any_addr); On 2015/03/09 22:33:45, etrunko wrote: ...
5 years, 9 months ago (2015-03-09 22:51:03 UTC) #67
etrunko
https://codereview.chromium.org/704133005/diff/280001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/280001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode215 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:215: int32_t ret = CanUseMulticastAPI(any_addr); On 2015/03/09 22:51:03, bbudge wrote: ...
5 years, 9 months ago (2015-03-09 23:35:04 UTC) #68
bbudge
https://codereview.chromium.org/704133005/diff/300001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/300001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode218 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:218: if (socket_) See comment below: this should be: if ...
5 years, 9 months ago (2015-03-10 01:30:50 UTC) #69
etrunko
On 2015/03/10 01:30:50, bbudge wrote: > https://codereview.chromium.org/704133005/diff/300001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc > File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc > (right): > > https://codereview.chromium.org/704133005/diff/300001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode218 ...
5 years, 9 months ago (2015-03-10 13:40:51 UTC) #70
etrunko
+jwd for histograms.xml
5 years, 9 months ago (2015-03-10 14:40:39 UTC) #72
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/704133005/360001
5 years, 9 months ago (2015-03-11 18:29:45 UTC) #75
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/43780)
5 years, 9 months ago (2015-03-12 03:34:34 UTC) #77
jwd
lgtm
5 years, 9 months ago (2015-03-12 17:13:57 UTC) #78
etrunko
https://codereview.chromium.org/704133005/diff/460001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/704133005/diff/460001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode463 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:463: int net_result = socket->SetMulticastInterface(multicast_ttl_); This is causing the errors ...
5 years, 9 months ago (2015-03-13 12:51:55 UTC) #79
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/704133005/470001
5 years, 9 months ago (2015-03-13 12:55:33 UTC) #82
commit-bot: I haz the power
Committed patchset #25 (id:470001)
5 years, 9 months ago (2015-03-13 15:40:45 UTC) #83
commit-bot: I haz the power
5 years, 9 months ago (2015-03-13 15:41:15 UTC) #84
Message was sent while issue was closed.
Patchset 25 (id:??) landed as
https://crrev.com/8171d46410b1ea937b0ae59577b9b36ed151149a
Cr-Commit-Position: refs/heads/master@{#320504}

Powered by Google App Engine
This is Rietveld 408576698