Index: base/files/file_util_posix.cc |
diff --git a/base/files/file_util_posix.cc b/base/files/file_util_posix.cc |
index b4a64ba9eeee8c0aee3d37cbb498eb0420961dbb..a8c5d44f9c753fdf0a29d8f5b7765d9b6d4e8f64 100644 |
--- a/base/files/file_util_posix.cc |
+++ b/base/files/file_util_posix.cc |
@@ -651,6 +651,7 @@ bool GetFileInfo(const FilePath& file_path, File::Info* results) { |
results->FromStat(file_info); |
return true; |
} |
+#endif // !defined(OS_NACL_NONSFI) |
FILE* OpenFile(const FilePath& filename, const char* mode) { |
ThreadRestrictions::AssertIOAllowed(); |
@@ -710,6 +711,8 @@ bool WriteFileDescriptor(const int fd, const char* data, int size) { |
return true; |
} |
+#if !defined(OS_NACL_NONSFI) |
+ |
bool AppendToFile(const FilePath& filename, const char* data, int size) { |
ThreadRestrictions::AssertIOAllowed(); |
bool ret = true; |