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

Issue 1679643002: nacl_io: Add SOCK_DGRAM support to socketpair() (Closed)

Created:
4 years, 10 months ago by Kevin Cernekee
Modified:
4 years, 10 months ago
Reviewers:
cernekee, Sam Clegg, binji
CC:
chromium-reviews, binji+watch_chromium.org, Sam Clegg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

nacl_io: Add SOCK_DGRAM support to socketpair() Change UnixEventEmitter to use a generic FIFOInterface instead of FIFOChar specifically. Add bytewise Read() and Write() methods to the former interface so that subclasses can handle both stream and datagram based communication. For SOCK_DGRAM, use the FIFOPacket class as the backend instead of FIFOChar. BUG=584925 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_nacl_sdk;tryserver.chromium.mac:mac_nacl_sdk;tryserver.chromium.win:win_nacl_sdk Committed: https://crrev.com/bbf1e34ff094449db2c1d738067cd6ffbaf66134 Cr-Commit-Position: refs/heads/master@{#374248}

Patch Set 1 #

Patch Set 2 : fix unit test failure #

Patch Set 3 : fix unit test failure #

Total comments: 8

Patch Set 4 : code review feedback #

Messages

Total messages: 12 (5 generated)
Kevin Cernekee
4 years, 10 months ago (2016-02-07 22:16:55 UTC) #2
Sam Clegg
Thanks for working on this! Looks good with a new nits. https://codereview.chromium.org/1679643002/diff/40001/native_client_sdk/src/libraries/nacl_io/socket/unix_event_emitter.h File native_client_sdk/src/libraries/nacl_io/socket/unix_event_emitter.h (right): ...
4 years, 10 months ago (2016-02-08 17:30:56 UTC) #3
cernekee
https://codereview.chromium.org/1679643002/diff/40001/native_client_sdk/src/libraries/nacl_io/socket/unix_event_emitter.h File native_client_sdk/src/libraries/nacl_io/socket/unix_event_emitter.h (right): https://codereview.chromium.org/1679643002/diff/40001/native_client_sdk/src/libraries/nacl_io/socket/unix_event_emitter.h#newcode42 native_client_sdk/src/libraries/nacl_io/socket/unix_event_emitter.h:42: virtual FIFOInterface* out_fifoc() = 0; On 2016/02/08 17:30:55, Sam ...
4 years, 10 months ago (2016-02-08 22:53:29 UTC) #5
Sam Clegg
Great. LGTM. Can you run this through the CQ with CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_nacl_sdk;tryserver.chromium.mac:mac_nacl_sdk;tryserver.chromium.win:win_nacl_sdk
4 years, 10 months ago (2016-02-08 23:12:27 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1679643002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1679643002/60001
4 years, 10 months ago (2016-02-08 23:34:33 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-09 01:16:28 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 01:18:09 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bbf1e34ff094449db2c1d738067cd6ffbaf66134
Cr-Commit-Position: refs/heads/master@{#374248}

Powered by Google App Engine
This is Rietveld 408576698