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

Unified Diff: native_client_sdk/src/libraries/nacl_io/stream/stream_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: fix 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/stream/stream_fs.h
diff --git a/native_client_sdk/src/libraries/nacl_io/stream/stream_fs.h b/native_client_sdk/src/libraries/nacl_io/stream/stream_fs.h
index ea136ebf96aacdf0f0ca5b1071c6b99101431433..d9f77c78e1df89bf3c1859d84233715fe837ddd1 100644
--- a/native_client_sdk/src/libraries/nacl_io/stream/stream_fs.h
+++ b/native_client_sdk/src/libraries/nacl_io/stream/stream_fs.h
@@ -54,7 +54,8 @@ class StreamFs : public Filesystem {
// of a MountSocketWork object.
static PP_CompletionCallback GetRunCompletion(Work* work);
- virtual Error Open(const Path& path, int o_flags, ScopedNode* out_node);
+ virtual Error OpenWithMode(const Path& path, int o_flags, mode_t mode,
+ ScopedNode* out_node);
virtual Error Unlink(const Path& path);
virtual Error Mkdir(const Path& path, int permissions);
virtual Error Rmdir(const Path& path);

Powered by Google App Engine
This is Rietveld 408576698