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

Unified Diff: native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc

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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc b/native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc
index fdf74be4a6e2be24f93dfae0ad839f2c150dfcf5..ddc32de8bb5886815f78f4310b2be25f324092e2 100644
--- a/native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc
+++ b/native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc
@@ -57,19 +57,6 @@ void FuseFs::Destroy() {
fuse_ops_->destroy(fuse_user_data_);
}
-Error FuseFs::Access(const Path& path, int a_mode) {
- if (!fuse_ops_->access) {
- LOG_TRACE("fuse_ops_->access is NULL.");
- return ENOSYS;
- }
-
- int result = fuse_ops_->access(path.Join().c_str(), a_mode);
- if (result < 0)
- return -result;
-
- return 0;
-}
-
Error FuseFs::Open(const Path& path, int open_flags, ScopedNode* out_node) {
std::string path_str = path.Join();
const char* path_cstr = path_str.c_str();
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h ('k') | native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698