| Index: chrome/browser/profiles/profile_manager.cc
|
| diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
|
| index 3b49cbf2ebbd50e26f4e653df633ee1cfa5d20ea..0bf456f70a819fb782bcf593407024a320e1c893 100644
|
| --- a/chrome/browser/profiles/profile_manager.cc
|
| +++ b/chrome/browser/profiles/profile_manager.cc
|
| @@ -1491,9 +1491,8 @@ void ProfileManager::SetNonPersonalProfilePrefs(Profile* profile) {
|
|
|
| bool ProfileManager::ShouldGoOffTheRecord(Profile* profile) {
|
| #if defined(OS_CHROMEOS)
|
| - if (profile->GetPath().BaseName().value() == chrome::kInitialProfile) {
|
| + if (chromeos::ProfileHelper::IsSigninProfile(profile))
|
| return true;
|
| - }
|
| #endif
|
| return profile->IsGuestSession() || profile->IsSystemProfile();
|
| }
|
|
|