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

Unified Diff: native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h

Issue 304013002: [NaCl SDK] Create Filesystem nodes in /dev/fs/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h
diff --git a/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h b/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h
index ad96ae28e6cb7c3cd59f05997754ea4e92da8d73..a17dc8513145561713c0dc6e1aca5f088632c789 100644
--- a/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h
+++ b/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h
@@ -22,6 +22,9 @@ class DevFs : public Filesystem {
virtual Error Remove(const Path& path);
virtual Error Rename(const Path& path, const Path& newpath);
+ Error CreateFsNode(Filesystem* fs);
+ Error DestroyFsNode(Filesystem* fs);
+
protected:
DevFs();
@@ -29,6 +32,7 @@ class DevFs : public Filesystem {
private:
ScopedNode root_;
+ ScopedNode fs_dir_;
friend class TypedFsFactory<DevFs>;
DISALLOW_COPY_AND_ASSIGN(DevFs);
« no previous file with comments | « no previous file | native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698