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

Unified Diff: chrome/browser/app_controller_mac_browsertest.mm

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
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac_unittest.mm » ('j') | chrome/browser/chrome_browser_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac_browsertest.mm
diff --git a/chrome/browser/app_controller_mac_browsertest.mm b/chrome/browser/app_controller_mac_browsertest.mm
index 4b3d9586008f28f22cc34440435896277a857ffc..ade9e91ece7ae69dae2e08a0a86b6f1ab3cfe8fd 100644
--- a/chrome/browser/app_controller_mac_browsertest.mm
+++ b/chrome/browser/app_controller_mac_browsertest.mm
@@ -491,7 +491,8 @@ IN_PROC_BROWSER_TEST_F(AppControllerMainMenuBrowserTest,
// Delete profile2.
profile_manager->ScheduleProfileForDeletion(
- profile2->GetPath(), ProfileManager::CreateCallback());
+ profile2->GetPath(), false /* suppress_profile_creation */,
+ ProfileManager::CreateCallback());
base::RunLoop().RunUntilIdle();
// Verify the controller's history is back to profile1.
« no previous file with comments | « no previous file | chrome/browser/app_controller_mac_unittest.mm » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698