Index: chrome/browser/ui/app_list/app_list_service_views.cc |
diff --git a/chrome/browser/ui/app_list/app_list_service_views.cc b/chrome/browser/ui/app_list/app_list_service_views.cc |
index 7f1cd4aca03e00e357a1430c91991e6793fd55f4..3a4224797828cf5e11b999a013817180698c555c 100644 |
--- a/chrome/browser/ui/app_list/app_list_service_views.cc |
+++ b/chrome/browser/ui/app_list/app_list_service_views.cc |
@@ -30,6 +30,9 @@ void AppListServiceViews::Init(Profile* initial_profile) { |
} |
void AppListServiceViews::ShowForProfile(Profile* requested_profile) { |
+ // App list profiles should not be off-the-record. |
+ DCHECK(!requested_profile->IsOffTheRecord()); |
Mike Lerman
2015/04/22 13:27:39
Also please check requested_profile->IsGuestSessio
Matt Giuca
2015/04/24 04:51:04
Done.
|
+ |
ShowForProfileInternal(requested_profile, |
app_list::AppListModel::INVALID_STATE); |
} |