Changeset View
Changeset View
Standalone View
Standalone View
head/www/chromium/files/patch-base_test_test__file__util__posix.cc
--- base/test/test_file_util_posix.cc.orig 2019-03-11 22:00:51 UTC | --- base/test/test_file_util_posix.cc.orig 2020-03-03 18:52:59 UTC | ||||
+++ base/test/test_file_util_posix.cc | +++ base/test/test_file_util_posix.cc | ||||
@@ -85,7 +85,7 @@ void SyncPageCacheToDisk() { | @@ -84,7 +84,7 @@ void SyncPageCacheToDisk() { | ||||
sync(); | sync(); | ||||
} | } | ||||
-#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | -#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | ||||
+#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD) | +#if !defined(OS_LINUX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && !defined(OS_BSD) | ||||
bool EvictFileFromSystemCache(const FilePath& file) { | bool EvictFileFromSystemCache(const FilePath& file) { | ||||
// There doesn't seem to be a POSIX way to cool the disk cache. | // There doesn't seem to be a POSIX way to cool the disk cache. | ||||
NOTIMPLEMENTED(); | NOTIMPLEMENTED(); |