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

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

Issue 23498015: [NaCl SDK] Support non blocking TCP/UDP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove event friends, rename EventListenerPoll Created 7 years, 3 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_stream.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_socket.cc b/native_client_sdk/src/libraries/nacl_io/mount_stream.cc
similarity index 50%
rename from native_client_sdk/src/libraries/nacl_io/mount_socket.cc
rename to native_client_sdk/src/libraries/nacl_io/mount_stream.cc
index 141c930d5de4d787075d92f3aaf88534cc12e2fb..b93f341a7fd792cccce48e505e62c80fd0bca65a 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_socket.cc
+++ b/native_client_sdk/src/libraries/nacl_io/mount_stream.cc
@@ -8,21 +8,21 @@
#include <errno.h>
#include "nacl_io/mount_node_socket.h"
-#include "nacl_io/mount_socket.h"
+#include "nacl_io/mount_stream.h"
namespace nacl_io {
-MountSocket::MountSocket() {}
+MountStream::MountStream() {}
-Error MountSocket::Access(const Path& path, int a_mode) { return EACCES; }
-Error MountSocket::Open(const Path& path,
+Error MountStream::Access(const Path& path, int a_mode) { return EACCES; }
+Error MountStream::Open(const Path& path,
int o_flags,
ScopedMountNode* out_node) { return EACCES; }
-Error MountSocket::Unlink(const Path& path) { return EACCES; }
-Error MountSocket::Mkdir(const Path& path, int permissions) { return EACCES; }
-Error MountSocket::Rmdir(const Path& path) { return EACCES; }
-Error MountSocket::Remove(const Path& path) { return EACCES; }
+Error MountStream::Unlink(const Path& path) { return EACCES; }
+Error MountStream::Mkdir(const Path& path, int permissions) { return EACCES; }
+Error MountStream::Rmdir(const Path& path) { return EACCES; }
+Error MountStream::Remove(const Path& path) { return EACCES; }
} // namespace nacl_io
#endif // PROVIDES_SOCKET_API

Powered by Google App Engine
This is Rietveld 408576698