summaryrefslogtreecommitdiffstats
path: root/base/path_service_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/path_service_unittest.cc')
-rw-r--r--base/path_service_unittest.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/path_service_unittest.cc b/base/path_service_unittest.cc
index c65f7a5..4c41aed 100644
--- a/base/path_service_unittest.cc
+++ b/base/path_service_unittest.cc
@@ -21,12 +21,6 @@ namespace {
bool ReturnsValidPath(int dir_type) {
FilePath path;
bool result = PathService::Get(dir_type, &path);
-#if defined(OS_POSIX)
- // If chromium has never been started on this account, the cache path will not
- // exist.
- if (dir_type == base::DIR_USER_CACHE)
- return result && !path.value().empty();
-#endif
return result && !path.value().empty() && file_util::PathExists(path);
}