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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_service_win.cc

Issue 1106453002: Fixed app launcher crashing trying to load guest profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/app_list/win/app_list_service_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
index 6c00856ce856d71fc63449d5647467c75841a56f..249f12eeaf2faefa50daab3fb0c9058835fe1177 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_service_win.cc
@@ -271,6 +271,9 @@ void AppListServiceWin::ShowForProfile(Profile* requested_profile) {
}
void AppListServiceWin::OnLoadProfileForWarmup(Profile* initial_profile) {
+ // App list profiles should not be off-the-record.
+ DCHECK(!initial_profile->IsOffTheRecord());
Mike Lerman 2015/04/22 13:27:39 Can this also check !initial_profile->IsGuestSessi
Matt Giuca 2015/04/24 04:51:04 Done.
+
if (!IsWarmupNeeded())
return;

Powered by Google App Engine
This is Rietveld 408576698