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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/mount_node_char.h

Issue 23498015: [NaCl SDK] Support non blocking TCP/UDP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LIBRARIES_NACL_IO_MOUNT_NODE_CHAR_H 5 #ifndef LIBRARIES_NACL_IO_MOUNT_NODE_CHAR_H
6 #define LIBRARIES_NACL_IO_MOUNT_NODE_CHAR_H 6 #define LIBRARIES_NACL_IO_MOUNT_NODE_CHAR_H
7 7
8 #include "nacl_io/mount_node.h" 8 #include "nacl_io/mount_node.h"
9 9
10 namespace nacl_io { 10 namespace nacl_io {
11 11
12 class MountNodeCharDevice : public MountNode { 12 class MountNodeCharDevice : public MountNode {
13 public: 13 public:
14 explicit MountNodeCharDevice(Mount* mount) : MountNode(mount) { 14 explicit MountNodeCharDevice(Mount* mount) : MountNode(mount) {
15 stat_.st_mode = S_IFCHR; 15 stat_.st_mode = S_IFCHR;
16 } 16 }
17
18 virtual uint32_t GetEventStatus() {
19 return 0;
20 }
21 }; 17 };
22 18
23 } 19 }
24 20
25 #endif // LIBRARIES_NACL_IO_MOUNT_NODE_CHAR_H 21 #endif // LIBRARIES_NACL_IO_MOUNT_NODE_CHAR_H
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_node.cc ('k') | native_client_sdk/src/libraries/nacl_io/mount_node_pipe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698