projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.38.208.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
prefs
/
incognito_mode_prefs.cc
diff --git
a/src/chrome/browser/prefs/incognito_mode_prefs.cc
b/src/chrome/browser/prefs/incognito_mode_prefs.cc
index
3b7b327
..
1861ac1
100644
(file)
--- a/
src/chrome/browser/prefs/incognito_mode_prefs.cc
+++ b/
src/chrome/browser/prefs/incognito_mode_prefs.cc
@@
-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;