Index: base/test/test_file_util_posix.cc |
diff --git a/base/test/test_file_util_posix.cc b/base/test/test_file_util_posix.cc |
index 8f7d69d34e10181c9e1c9fc53358762e247aa966..876e8821fc9355cc4bedfc864ba93e4fdb718fa5 100644 |
--- a/base/test/test_file_util_posix.cc |
+++ b/base/test/test_file_util_posix.cc |
@@ -5,6 +5,7 @@ |
#include "base/test/test_file_util.h" |
#include <errno.h> |
+#include <fcntl.h> |
#include <sys/types.h> |
#include <sys/stat.h> |
@@ -100,4 +101,12 @@ bool CopyRecursiveDirNoCache(const FilePath& source_dir, |
return success; |
} |
+#if !defined(OS_LINUX) && !defined(OS_MACOSX) |
+bool EvictFileFromSystemCache(const FilePath& file) { |
+ // There doesn't seem to be a POSIX way to cool the disk cache. |
+ NOTIMPLEMENTED(); |
+ return false; |
+} |
+#endif |
+ |
} // namespace file_util |