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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_node.cc

Issue 22587003: [NaCl SDK] Add UDP and TCP Sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to browser tester fix. Created 7 years, 4 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/mount_node.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node.cc b/native_client_sdk/src/libraries/nacl_io/mount_node.cc
index 0116745ab443196676c7646259a503ca241c5e0e..4a0c0651d9c58f4687da117742509a25f3e777f4 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_node.cc
+++ b/native_client_sdk/src/libraries/nacl_io/mount_node.cc
@@ -153,6 +153,8 @@ bool MountNode::IsaDir() { return (stat_.st_mode & S_IFDIR) != 0; }
bool MountNode::IsaFile() { return (stat_.st_mode & S_IFREG) != 0; }
+bool MountNode::IsaSock() { return (stat_.st_mode & S_IFSOCK) != 0; }
+
bool MountNode::IsaTTY() { return (stat_.st_mode & S_IFCHR) != 0; }
Error MountNode::AddChild(const std::string& name,
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_node.h ('k') | native_client_sdk/src/libraries/nacl_io/mount_node_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698