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

Unified Diff: native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc

Issue 1679643002: nacl_io: Add SOCK_DGRAM support to socketpair() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: code review feedback Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc b/native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc
index 8fa44fd2ccfaedcc972188fe173076cedf05b737..968cdd788a833b948857f1fff51fd8bcc870ed36 100644
--- a/native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc
+++ b/native_client_sdk/src/libraries/nacl_io/socket/unix_node.cc
@@ -14,9 +14,9 @@
namespace nacl_io {
-UnixNode::UnixNode(Filesystem* filesystem)
+UnixNode::UnixNode(Filesystem* filesystem, int type)
: SocketNode(SOCK_STREAM, filesystem),
- emitter_(UnixEventEmitter::MakeUnixEventEmitter(65536)) {
+ emitter_(UnixEventEmitter::MakeUnixEventEmitter(65536, type)) {
emitter_->AttachStream(this);
}
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/socket/unix_node.h ('k') | native_client_sdk/src/tests/nacl_io_test/socket_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698