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

Unified Diff: chrome/browser/signin/chrome_signin_client.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/signin/chrome_signin_client.cc
diff --git a/chrome/browser/signin/chrome_signin_client.cc b/chrome/browser/signin/chrome_signin_client.cc
index 15c44ce177e892798d9c223b952594079ae2840d..3a30291d3fc6b45f83b40b55995f67af4c22ff94 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -280,10 +280,12 @@ void ChromeSigninClient::PreSignOut(const base::Callback<void()>& sign_out) {
if (is_force_signin_enabled_ && !profile_->IsSystemProfile() &&
!profile_->IsGuestSession() && !profile_->IsSupervised()) {
BrowserList::CloseAllBrowsersWithProfile(
- profile_, base::Bind(&ChromeSigninClient::OnCloseBrowsersSuccess,
- base::Unretained(this), sign_out),
+ profile_,
+ base::Bind(&ChromeSigninClient::OnCloseBrowsersSuccess,
+ base::Unretained(this), sign_out),
base::Bind(&ChromeSigninClient::OnCloseBrowsersAborted,
- base::Unretained(this)));
+ base::Unretained(this)),
+ false);
} else {
#else
{

Powered by Google App Engine
This is Rietveld 408576698