| Index: native_client_sdk/src/libraries/nacl_mounts/mount.h
|
| diff --git a/native_client_sdk/src/libraries/nacl_mounts/mount.h b/native_client_sdk/src/libraries/nacl_mounts/mount.h
|
| index 108fa7b4b9cdd8c67773d31cb97d5d378a7b37d5..6f1cb17c8a44ec96bb8baa3ac54f2a7cb31e3f17 100644
|
| --- a/native_client_sdk/src/libraries/nacl_mounts/mount.h
|
| +++ b/native_client_sdk/src/libraries/nacl_mounts/mount.h
|
| @@ -8,6 +8,7 @@
|
| #include <map>
|
| #include <string>
|
|
|
| +#include "nacl_mounts/inode_pool.h"
|
| #include "nacl_mounts/mount_node.h"
|
| #include "nacl_mounts/path.h"
|
| #include "utils/macros.h"
|
| @@ -56,18 +57,14 @@ class Mount : public RefObject {
|
| // Convert from R,W,R/W open flags to STAT permission flags
|
| static int OpenModeToPermission(int mode);
|
|
|
| - unsigned int num_nodes() const { return num_nodes_; }
|
| -
|
| - // Should only be called by MountNode when a new node is created with this
|
| - // Mount as its parent.
|
| - void OnNodeCreated();
|
| - void OnNodeDestroyed();
|
| + void OnNodeCreated(MountNode* node) ;
|
| + void OnNodeDestroyed(MountNode* node);
|
|
|
| protected:
|
| // Device number for the mount.
|
| int dev_;
|
| - unsigned int num_nodes_;
|
| PepperInterface* ppapi_; // Weak reference.
|
| + INodePool inode_pool_;
|
|
|
| private:
|
| // May only be called by the KernelProxy when the Kernel's
|
|
|