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

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

Issue 12166002: Cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
diff --git a/native_client_sdk/src/libraries/nacl_mounts/mount_node.h b/native_client_sdk/src/libraries/nacl_mounts/mount_node.h
index 0da2c3209ed6a61a427ce38b2a337102cbb4e649..34c18b6e2363b812fc211c9c1d1edc316933fc64 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/mount_node.h
+++ b/native_client_sdk/src/libraries/nacl_mounts/mount_node.h
@@ -16,16 +16,11 @@ class Mount;
class MountNode : public RefObject {
protected:
+ MountNode(Mount* mount);
virtual ~MountNode();
- // This method is called by Destroy when the last reference to this
- // MountNode is released. Override this instead of Destroy, but do not call
- // it directly.
- virtual int Close();
-
protected:
- MountNode(Mount* mount, int ino, int dev);
- virtual bool Init(int mode, short uid, short gid);
+ virtual bool Init(int perm);
virtual void Destroy();
public:
@@ -68,6 +63,7 @@ protected:
struct stat stat_;
Mount* mount_;
+ friend class Mount;
friend class MountDev;
friend class MountHtml5Fs;
friend class MountHttp;

Powered by Google App Engine
This is Rietveld 408576698