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

Unified Diff: native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.h

Issue 565763002: Plumbing though mode parameter to open, since fusefs can make use of it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 6 years, 3 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/memfs/mem_fs.h
diff --git a/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.h b/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.h
index 3438d79c69d1a53d32c7b3b00a360cdf914107dd..51ccc061be594bee6d18f573daf3068343504b34 100644
--- a/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.h
+++ b/native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.h
@@ -29,7 +29,8 @@ class MemFs : public Filesystem {
virtual Error FindNode(const Path& path, int type, ScopedNode* out_node);
public:
- virtual Error Open(const Path& path, int mode, ScopedNode* out_node);
+ virtual Error OpenWithMode(const Path& path, int open_flags, mode_t mode,
+ ScopedNode* out_node);
virtual Error Unlink(const Path& path);
virtual Error Mkdir(const Path& path, int perm);
virtual Error Rmdir(const Path& path);
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_wrap_win.cc ('k') | native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698