Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / prefs / incognito_mode_prefs.cc
index 3b7b327..1861ac1 100644 (file)
@@ -82,6 +82,9 @@ bool IncognitoModePrefs::ShouldLaunchIncognito(
 
 // static
 bool IncognitoModePrefs::CanOpenBrowser(Profile* profile) {
+  if (profile->IsGuestSession())
+    return true;
+
   switch (GetAvailability(profile->GetPrefs())) {
     case IncognitoModePrefs::ENABLED:
       return true;