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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_node_socket.h

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_node_socket.h
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_node_socket.h b/native_client_sdk/src/libraries/nacl_io/mount_node_socket.h
index a133c19f4fd03c6dee64dae6b225c17965ea1751..d1a027e5701989fdab385e77a6f4a78e509ef9e9 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_node_socket.h
+++ b/native_client_sdk/src/libraries/nacl_io/mount_node_socket.h
@@ -13,6 +13,7 @@
#include <ppapi/c/ppb_net_address.h>
#include "nacl_io/mount.h"
+#include "nacl_io/mount_node.h"
#include "nacl_io/pepper_interface.h"
namespace nacl_io {
@@ -21,7 +22,7 @@ namespace nacl_io {
* should be looping on Send/Recv size. */
static const size_t MAX_SOCK_TRANSFER = 65536;
-class MountSocket;
+class MountStream;
class MountNodeSocket : public MountNode {
public:
@@ -32,8 +33,6 @@ class MountNodeSocket : public MountNode {
virtual Error Init(int flags) = 0;
public:
- virtual uint32_t GetEventStatus();
-
// Normal read/write operations on a file (recv/send).
virtual Error Read(size_t offs, void* buf, size_t count, int* out_bytes);
virtual Error Write(size_t offs,
@@ -94,7 +93,7 @@ class MountNodeSocket : public MountNode {
PP_Resource remote_addr_;
friend class KernelProxy;
- friend class MountSocket;
+ friend class MountStream;
};

Powered by Google App Engine
This is Rietveld 408576698