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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/mount_node.h

Issue 9956156: Add mount sources for a MountNode (inode) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_mounts/mount_node.h
===================================================================
--- native_client_sdk/src/libraries/nacl_mounts/mount_node.h (revision 134714)
+++ native_client_sdk/src/libraries/nacl_mounts/mount_node.h (working copy)
@@ -23,7 +23,7 @@
protected:
MountNode(Mount* mount, int ino, int dev);
virtual bool Init(int mode, short uid, short gid);
- virtual void Destroy();
+ virtual int Close();
public:
// Normal OS operations on a node (file), can be called by the kernel
@@ -55,6 +55,7 @@
// Find a child and return it without updating the refcount
virtual MountNode* FindChild(const std::string& name);
+ virtual int ChildCount();
// Update the link count
virtual void Link();
@@ -64,7 +65,8 @@
struct stat stat_;
Mount* mount_;
- friend class Mount;
+ friend class MountHFS;
+ friend class MountMem;
friend class MountNodeDir;
};
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts/mount_mem.cc ('k') | native_client_sdk/src/libraries/nacl_mounts/mount_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698