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

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

Issue 604513002: [NaCl SDK] nacl_io: Add chmod/fchmod (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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/dir_node.h
diff --git a/native_client_sdk/src/libraries/nacl_io/dir_node.h b/native_client_sdk/src/libraries/nacl_io/dir_node.h
index 29d271f7f679dfac1f36a4af332268d51a83a35b..3deaa33ddf8b156d5bd62f57f70d4f8d502ff7df 100644
--- a/native_client_sdk/src/libraries/nacl_io/dir_node.h
+++ b/native_client_sdk/src/libraries/nacl_io/dir_node.h
@@ -43,6 +43,7 @@ class DirNode : public Node {
const void* buf,
size_t count,
int* out_bytes);
+ virtual Error Fchmod(mode_t mode);
// Adds a finds or adds a directory entry as an INO, updating the refcount
virtual Error AddChild(const std::string& name, const ScopedNode& node);

Powered by Google App Engine
This is Rietveld 408576698