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

Unified Diff: chrome/browser/ui/views/ash/app_list/app_list_view_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: fix 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/app_list/app_list_view_delegate.cc
diff --git a/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc b/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc
index 659fc352db7995b578737ed631b17b5c7df7269d..487830b53bcf810088f73a7e9314238ff9577230 100644
--- a/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc
+++ b/chrome/browser/ui/views/ash/app_list/app_list_view_delegate.cc
@@ -18,7 +18,8 @@ void AppListViewDelegate::SetModel(ash::AppListModel* model) {
if (model) {
if (!model_builder_.get()) {
model_builder_.reset(
- new AppListModelBuilder(ProfileManager::GetDefaultProfile()));
+ new AppListModelBuilder(
+ ProfileManager::GetDefaultProfileOrOffTheRecord()));
}
model_builder_->SetModel(model);
} else {
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698