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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/jsfs/js_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_JSFS_JS_FS_H_ 5 #ifndef LIBRARIES_NACL_IO_JSFS_JS_FS_H_
6 #define LIBRARIES_NACL_IO_JSFS_JS_FS_H_ 6 #define LIBRARIES_NACL_IO_JSFS_JS_FS_H_
7 7
8 #include <pthread.h> 8 #include <pthread.h>
9 #include <stdarg.h> 9 #include <stdarg.h>
10 10
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 typedef uint32_t RequestId; 29 typedef uint32_t RequestId;
30 30
31 protected: 31 protected:
32 JsFs(); 32 JsFs();
33 33
34 virtual Error Init(const FsInitArgs& args); 34 virtual Error Init(const FsInitArgs& args);
35 virtual void Destroy(); 35 virtual void Destroy();
36 36
37 public: 37 public:
38 virtual Error Access(const Path& path, int a_mode);
39 virtual Error Open(const Path& path, int mode, ScopedNode* out_node); 38 virtual Error Open(const Path& path, int mode, ScopedNode* out_node);
40 virtual Error Unlink(const Path& path); 39 virtual Error Unlink(const Path& path);
41 virtual Error Mkdir(const Path& path, int perm); 40 virtual Error Mkdir(const Path& path, int perm);
42 virtual Error Rmdir(const Path& path); 41 virtual Error Rmdir(const Path& path);
43 virtual Error Remove(const Path& path); 42 virtual Error Remove(const Path& path);
44 virtual Error Rename(const Path& path, const Path& newpath); 43 virtual Error Rename(const Path& path, const Path& newpath);
45 virtual Error Filesystem_VIoctl(int request, va_list args); 44 virtual Error Filesystem_VIoctl(int request, va_list args);
46 45
47 private: 46 private:
48 bool SetDictVar(PP_Var dict, const char* key, PP_Var value); 47 bool SetDictVar(PP_Var dict, const char* key, PP_Var value);
(...skipping 27 matching lines...) Expand all
76 pthread_cond_t response_cond_; // protected by lock_. 75 pthread_cond_t response_cond_; // protected by lock_.
77 ResponseMap_t responses_; // protected by lock_. 76 ResponseMap_t responses_; // protected by lock_.
78 77
79 friend class JsFsNode; 78 friend class JsFsNode;
80 DISALLOW_COPY_AND_ASSIGN(JsFs); 79 DISALLOW_COPY_AND_ASSIGN(JsFs);
81 }; 80 };
82 81
83 } // namespace nacl_io 82 } // namespace nacl_io
84 83
85 #endif // LIBRARIES_NACL_IO_JSFS_JS_FS_H_ 84 #endif // LIBRARIES_NACL_IO_JSFS_JS_FS_H_
OLDNEW
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc ('k') | native_client_sdk/src/libraries/nacl_io/jsfs/js_fs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698