OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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_MOUNTS_MOUNT_DEV_H_ | 5 #ifndef LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_ |
6 #define LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_ | 6 #define LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_ |
7 | 7 |
8 #include "nacl_mounts/mount.h" | 8 #include "nacl_mounts/mount.h" |
9 | 9 |
10 class MountNode; | 10 class MountNode; |
(...skipping 14 matching lines...) Expand all Loading... |
25 MountDev(); | 25 MountDev(); |
26 | 26 |
27 virtual bool Init(int dev, StringMap_t& args, PepperInterface* ppapi); | 27 virtual bool Init(int dev, StringMap_t& args, PepperInterface* ppapi); |
28 virtual void Destroy(); | 28 virtual void Destroy(); |
29 | 29 |
30 private: | 30 private: |
31 MountNode* root_; | 31 MountNode* root_; |
32 MountNode* null_node_; | 32 MountNode* null_node_; |
33 MountNode* zero_node_; | 33 MountNode* zero_node_; |
34 MountNode* random_node_; | 34 MountNode* random_node_; |
| 35 MountNode* console0_node_; |
| 36 MountNode* console1_node_; |
| 37 MountNode* console2_node_; |
| 38 MountNode* console3_node_; |
| 39 MountNode* tty_node_; |
35 | 40 |
36 friend class Mount; | 41 friend class Mount; |
37 }; | 42 }; |
38 | 43 |
39 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_ | 44 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_DEV_H_ |
OLD | NEW |