Index: base/file_util_posix.cc |
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc |
index 762700ae42c11d42e39bffaf89aaf4472a704dd9..296950bebd8bd69d06ee978bcb5a56971643e971 100644 |
--- a/base/file_util_posix.cc |
+++ b/base/file_util_posix.cc |
@@ -43,6 +43,7 @@ |
#include "base/strings/stringprintf.h" |
#include "base/strings/sys_string_conversions.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/sys_info.h" |
#include "base/threading/thread_restrictions.h" |
#include "base/time/time.h" |
@@ -54,10 +55,6 @@ |
#include <grp.h> |
#endif |
-#if defined(OS_CHROMEOS) |
-#include "base/chromeos/chromeos_version.h" |
-#endif |
- |
namespace base { |
namespace { |
@@ -771,7 +768,7 @@ bool GetShmemTempDir(FilePath* path, bool executable) { |
FilePath GetHomeDir() { |
#if defined(OS_CHROMEOS) |
- if (base::chromeos::IsRunningOnChromeOS()) |
+ if (base::SysInfo::IsRunningOnChromeOS()) |
return FilePath("/home/chronos/user"); |
#endif |