Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc

Issue 9691032: Use OffTheRecord profile in case of GuestLogin for AppList. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ProfileManager's method Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc
diff --git a/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc b/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc
index dbd03d2e6a09588dc1a3653f6581801685652bf1..c5b74961cca7d2a64dbf8c9ac5b1fd1d8c15dc3b 100644
--- a/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc
+++ b/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc
@@ -518,7 +518,7 @@ void ChromeLauncherDelegate::SetAppIconLoaderForTest(AppIconLoader* loader) {
}
Profile* ChromeLauncherDelegate::GetProfileForNewWindows() {
- Profile* profile = ProfileManager::GetDefaultProfile();
+ Profile* profile = ProfileManager::GetDefaultProfileOrOffTheRecord();
if (browser_defaults::kAlwaysOpenIncognitoWindow &&
IncognitoModePrefs::ShouldLaunchIncognito(
*CommandLine::ForCurrentProcess(),

Powered by Google App Engine
This is Rietveld 408576698