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

Unified Diff: chrome/browser/ui/webui/options/options_handlers_helper.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/webui/options/options_handlers_helper.cc
diff --git a/chrome/browser/ui/webui/options/options_handlers_helper.cc b/chrome/browser/ui/webui/options/options_handlers_helper.cc
index b8bda6adf9a82a25246482de79b934212abc2119..9131e878ab062863cc4c435f1f0f81fee3930e20 100644
--- a/chrome/browser/ui/webui/options/options_handlers_helper.cc
+++ b/chrome/browser/ui/webui/options/options_handlers_helper.cc
@@ -58,7 +58,7 @@ void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui) {
ProfileMetrics::LogProfileDeleteUser(ProfileMetrics::DELETE_PROFILE_SETTINGS);
g_browser_process->profile_manager()->ScheduleProfileForDeletion(
- file_path,
+ file_path, false /* suppress_profile_creation */,
base::Bind(&OpenNewWindowForProfile, GetDesktopType(web_ui)));
}

Powered by Google App Engine
This is Rietveld 408576698