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

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: change the TODO assignment 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
« no previous file with comments | « chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 &&
sky 2012/03/19 15:29:28 Do we need 522-526 anymore? Isn't it now covered b
Jun Mukai 2012/03/20 04:36:08 Removed.
IncognitoModePrefs::ShouldLaunchIncognito(
*CommandLine::ForCurrentProcess(),
« no previous file with comments | « chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698