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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc

Issue 1113333003: Don't create a new profile when cleaning up stale ephemeral profiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fix? 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/app_list/app_list_service_impl_browsertest.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc b/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc
index 6501ba488ae6f8d8d2473fbcfa6376fb2a63d034..6e36d887c0e83a5e98b0d3d47a422cc762942896 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc
@@ -143,8 +143,9 @@ IN_PROC_BROWSER_TEST_F(AppListServiceImplBrowserTest,
ProfileManager* profile_manager = g_browser_process->profile_manager();
// Delete the profile being used by the app list.
- profile_manager->ScheduleProfileForDeletion(second_profile->GetPath(),
- ProfileManager::CreateCallback());
+ profile_manager->ScheduleProfileForDeletion(
+ second_profile->GetPath(), false /* suppress_profile_creation */,
+ ProfileManager::CreateCallback());
// View delegate doesn't change when changing profiles.
EXPECT_EQ(view_delegate, test_api_->view_delegate());

Powered by Google App Engine
This is Rietveld 408576698