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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/mount_node_dir.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_dir.h
===================================================================
--- native_client_sdk/src/libraries/nacl_mounts/mount_node_dir.h (revision 134714)
+++ native_client_sdk/src/libraries/nacl_mounts/mount_node_dir.h (working copy)
@@ -12,7 +12,7 @@
#include <string>
#include <vector>
-#include "mount_node.h"
+#include "nacl_mounts/mount_node.h"
class MountNodeDir : public MountNode {
@@ -32,7 +32,8 @@
// Adds a finds or adds a directory entry as an INO, updating the refcount
virtual int AddChild(const std::string& name, MountNode *node);
virtual int RemoveChild(const std::string& name);
- virtual MountNode* FindChild(const std::string& name);
+ virtual MountNode* FindChild(const std::string& name);
+ virtual int ChildCount();
protected:
@@ -42,7 +43,8 @@
private:
struct dirent* cache_;
MountNodeMap_t map_;
- friend class Mount;
+
+ friend class MountMem;
};
#endif // LIBRARIES_NACL_MOUNTS_MOUNT_NODE_DIR_H_

Powered by Google App Engine
This is Rietveld 408576698