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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 2681203002: Add Browser::SkipCallBeforeUnload so that the browser windows can be closed regardless of beforeunl… (Closed)
Patch Set: rebase from master Created 3 years, 9 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/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index 41aca8d675d178de5c471fb8df4a030129da7654..014877c80c00c6928b8049943ab3d66f8ffb41c1 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -820,7 +820,7 @@ void ProfileManager::ScheduleProfileForDeletion(
profile,
base::Bind(&ProfileManager::EnsureActiveProfileExistsBeforeDeletion,
base::Unretained(this), callback),
- base::Bind(&CancelProfileDeletion));
+ base::Bind(&CancelProfileDeletion), false);
} else {
EnsureActiveProfileExistsBeforeDeletion(callback, profile_dir);
}

Powered by Google App Engine
This is Rietveld 408576698