Index: chrome/browser/chromeos/system/screen_locker_settings.cc |
diff --git a/chrome/browser/chromeos/system/screen_locker_settings.cc b/chrome/browser/chromeos/system/screen_locker_settings.cc |
index a0253c320115d047d90434dd4eebc53843ea9f5f..79697238c23e13958c853c7780ffc4d9af2ff4a0 100644 |
--- a/chrome/browser/chromeos/system/screen_locker_settings.cc |
+++ b/chrome/browser/chromeos/system/screen_locker_settings.cc |
@@ -5,10 +5,10 @@ |
#include "chrome/browser/chromeos/system/screen_locker_settings.h" |
#include "base/bind.h" |
+#include "base/chromeos/chromeos_version.h" |
#include "base/file_path.h" |
#include "base/file_util.h" |
#include "base/stringprintf.h" |
-#include "chrome/browser/chromeos/system/runtime_environment.h" |
#include "content/public/browser/browser_thread.h" |
using content::BrowserThread; |
@@ -21,7 +21,7 @@ const char kLockOnIdleSuspendPath[] = |
void EnableScreenLockOnFileThread(bool enable) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); |
- if (chromeos::system::runtime_environment::IsRunningOnChromeOS()) { |
+ if (base::chromeos::IsRunningOnChromeOS()) { |
std::string config = base::StringPrintf("%d", enable); |
file_util::WriteFile(FilePath(kLockOnIdleSuspendPath), |
config.c_str(), |