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

Unified Diff: native_client_sdk/src/libraries/nacl_io/filesystem.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
Index: native_client_sdk/src/libraries/nacl_io/filesystem.h
diff --git a/native_client_sdk/src/libraries/nacl_io/filesystem.h b/native_client_sdk/src/libraries/nacl_io/filesystem.h
index ddec5d66aa19130dab9510ff4c32c3fd43b3bef5..47546b942a0c63820c09e618ea77de970b6b0137 100644
--- a/native_client_sdk/src/libraries/nacl_io/filesystem.h
+++ b/native_client_sdk/src/libraries/nacl_io/filesystem.h
@@ -58,6 +58,7 @@ class Filesystem : public sdk_util::RefObject {
public:
PepperInterface* ppapi() { return ppapi_; }
+ int dev() { return dev_; }
// All paths in functions below are expected to containing a leading "/".
@@ -84,6 +85,7 @@ class Filesystem : public sdk_util::RefObject {
virtual Error Rmdir(const Path& path) = 0;
virtual Error Remove(const Path& path) = 0;
virtual Error Rename(const Path& path, const Path& newpath) = 0;
+ virtual Error Filesystem_VIoctl(int request, va_list args);
// Assumes that |node| is non-NULL.
void OnNodeCreated(Node* node);
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc ('k') | native_client_sdk/src/libraries/nacl_io/filesystem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698