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

Unified Diff: native_client_sdk/src/libraries/nacl_io/mount_mem.h

Issue 15800004: [NaCl SDK] nacl_io: Added support for access() syscall. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to HEAD. Created 7 years, 6 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/mount_mem.h
diff --git a/native_client_sdk/src/libraries/nacl_io/mount_mem.h b/native_client_sdk/src/libraries/nacl_io/mount_mem.h
index 930e9c734a5588ecf09bab91a50387b46c2d6929..80f8bd68339d20aae95e626794958625d96871a3 100644
--- a/native_client_sdk/src/libraries/nacl_io/mount_mem.h
+++ b/native_client_sdk/src/libraries/nacl_io/mount_mem.h
@@ -29,6 +29,7 @@ class MountMem : public Mount {
virtual Error FindNode(const Path& path, int type, MountNode** out_node);
public:
+ virtual Error Access(const Path& path, int a_mode);
virtual Error Open(const Path& path, int mode, MountNode** out_node);
virtual Error Unlink(const Path& path);
virtual Error Mkdir(const Path& path, int perm);
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/mount_http.cc ('k') | native_client_sdk/src/libraries/nacl_io/mount_mem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698