Index: chromeos/login/login_state.cc |
diff --git a/chromeos/login/login_state.cc b/chromeos/login/login_state.cc |
index 57a889badc64bf624bef896bee19d4534d8d5785..a1f1fbbc30d4963f1b1240c264047e0f67b54b9f 100644 |
--- a/chromeos/login/login_state.cc |
+++ b/chromeos/login/login_state.cc |
@@ -4,9 +4,9 @@ |
#include "chromeos/login/login_state.h" |
-#include "base/chromeos/chromeos_version.h" |
#include "base/command_line.h" |
#include "base/logging.h" |
+#include "base/sys_info.h" |
#include "chromeos/chromeos_switches.h" |
namespace chromeos { |
@@ -17,7 +17,7 @@ namespace { |
// workstation) and not running as login-manager, pretend like we're always |
// logged in. |
bool AlwaysLoggedIn() { |
- return !base::chromeos::IsRunningOnChromeOS() && |
+ return !base::SysInfo::IsRunningOnChromeOS() && |
!CommandLine::ForCurrentProcess()->HasSwitch(switches::kLoginManager); |
} |