| OLD | NEW |
| 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 |
| OLD | NEW |