Chromium Code Reviews| 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; |