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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h

Issue 547053002: [NaCl SDK] nacl_io: Remove Node::Access method. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@http_fs_root
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_H_ 5 #ifndef LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_H_
6 #define LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_H_ 6 #define LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "nacl_io/filesystem.h" 10 #include "nacl_io/filesystem.h"
11 #include "nacl_io/fuse.h" 11 #include "nacl_io/fuse.h"
12 #include "nacl_io/node.h" 12 #include "nacl_io/node.h"
13 13
14 namespace nacl_io { 14 namespace nacl_io {
15 15
16 class FuseFs : public Filesystem { 16 class FuseFs : public Filesystem {
17 protected: 17 protected:
18 FuseFs(); 18 FuseFs();
19 19
20 virtual Error Init(const FsInitArgs& args); 20 virtual Error Init(const FsInitArgs& args);
21 virtual void Destroy(); 21 virtual void Destroy();
22 22
23 public: 23 public:
24 virtual Error Access(const Path& path, int a_mode);
25 virtual Error Open(const Path& path, int mode, ScopedNode* out_node); 24 virtual Error Open(const Path& path, int mode, ScopedNode* out_node);
26 virtual Error Unlink(const Path& path); 25 virtual Error Unlink(const Path& path);
27 virtual Error Mkdir(const Path& path, int perm); 26 virtual Error Mkdir(const Path& path, int perm);
28 virtual Error Rmdir(const Path& path); 27 virtual Error Rmdir(const Path& path);
29 virtual Error Remove(const Path& path); 28 virtual Error Remove(const Path& path);
30 virtual Error Rename(const Path& path, const Path& newpath); 29 virtual Error Rename(const Path& path, const Path& newpath);
31 30
32 private: 31 private:
33 struct fuse_operations* fuse_ops_; 32 struct fuse_operations* fuse_ops_;
34 void* fuse_user_data_; 33 void* fuse_user_data_;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 off_t off); 111 off_t off);
113 112
114 private: 113 private:
115 friend class FuseFs; 114 friend class FuseFs;
116 DISALLOW_COPY_AND_ASSIGN(DirFuseFsNode); 115 DISALLOW_COPY_AND_ASSIGN(DirFuseFsNode);
117 }; 116 };
118 117
119 } // namespace nacl_io 118 } // namespace nacl_io
120 119
121 #endif // LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_H_ 120 #endif // LIBRARIES_NACL_IO_FUSEFS_FUSE_FS_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/filesystem.h ('k') | native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698