Index: chrome/browser/profiles/profile.cc |
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc |
index ca0311f6c1630b5e6f42e7ae02d19279793c9131..36c1f6628865a44b788f25c3102bf2a49eb580ac 100644 |
--- a/chrome/browser/profiles/profile.cc |
+++ b/chrome/browser/profiles/profile.cc |
@@ -21,6 +21,7 @@ |
#if defined(OS_CHROMEOS) |
#include "base/command_line.h" |
#include "chrome/common/chrome_switches.h" |
+#include "chromeos/chromeos_switches.h" |
#endif |
Profile::Profile() |
@@ -129,8 +130,8 @@ std::string Profile::GetDebugName() { |
bool Profile::IsGuestSession() const { |
#if defined(OS_CHROMEOS) |
- static bool is_guest_session = |
- CommandLine::ForCurrentProcess()->HasSwitch(switches::kGuestSession); |
+ static bool is_guest_session = CommandLine::ForCurrentProcess()->HasSwitch( |
+ chromeos::switches::kGuestSession); |
return is_guest_session; |
#else |
return false; |