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

Unified Diff: chrome/browser/profiles/profile_window.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_window.cc
diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
index 37093b946609ce1b547c44d4e2a4f44fbd5b27bd..5b8072a10c44e528df1527f21874ab110423495d 100644
--- a/chrome/browser/profiles/profile_window.cc
+++ b/chrome/browser/profiles/profile_window.cc
@@ -373,7 +373,7 @@ void CloseGuestProfileWindows() {
if (profile) {
BrowserList::CloseAllBrowsersWithProfile(
profile, base::Bind(&ProfileBrowserCloseSuccess),
- BrowserList::CloseCallback());
+ BrowserList::CloseCallback(), false);
}
}
@@ -401,7 +401,7 @@ void LockProfile(Profile* profile) {
if (profile) {
BrowserList::CloseAllBrowsersWithProfile(
profile, base::Bind(&LockBrowserCloseSuccess),
- BrowserList::CloseCallback());
+ BrowserList::CloseCallback(), false);
}
}
@@ -446,7 +446,7 @@ void CloseProfileWindows(Profile* profile) {
DCHECK(profile);
BrowserList::CloseAllBrowsersWithProfile(
profile, base::Bind(&ProfileBrowserCloseSuccess),
- BrowserList::CloseCallback());
+ BrowserList::CloseCallback(), false);
}
void CreateSystemProfileForUserManager(

Powered by Google App Engine
This is Rietveld 408576698