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 | |
6 #ifndef LIBRARIES_NACL_MOUNTS_MOUNT_NODE_H_ | 5 #ifndef LIBRARIES_NACL_MOUNTS_MOUNT_NODE_H_ |
7 #define LIBRARIES_NACL_MOUNTS_MOUNT_NODE_H_ | 6 #define LIBRARIES_NACL_MOUNTS_MOUNT_NODE_H_ |
8 | 7 |
9 #include <sys/stat.h> | 8 #include <string> |
10 | 9 |
11 #include <string> | 10 #include "nacl_mounts/osstat.h" |
12 #include "ref_object.h" | 11 #include "utils/ref_object.h" |
13 | 12 |
14 struct dirent; | 13 struct dirent; |
15 struct stat; | 14 struct stat; |
16 class Mount; | 15 class Mount; |
17 class MountNode; | 16 class MountNode; |
18 | 17 |
19 class MountNode : public RefObject { | 18 class MountNode : public RefObject { |
20 protected: | 19 protected: |
21 virtual ~MountNode(); | 20 virtual ~MountNode(); |
22 | 21 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 62 |
64 protected: | 63 protected: |
65 struct stat stat_; | 64 struct stat stat_; |
66 Mount* mount_; | 65 Mount* mount_; |
67 | 66 |
68 friend class MountHFS; | 67 friend class MountHFS; |
69 friend class MountMem; | 68 friend class MountMem; |
70 friend class MountNodeDir; | 69 friend class MountNodeDir; |
71 }; | 70 }; |
72 | 71 |
73 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_NODE_H_ | 72 #endif // LIBRARIES_NACL_MOUNTS_MOUNT_NODE_H_ |
OLD | NEW |