-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Suppress beforeunload and in-progress download prompts for fo…
…rced restarts." This reverts commit 2c98cab. Reason for revert: Parent change causing crashes. Original change's description: > Suppress beforeunload and in-progress download prompts for forced restarts. > > This change introduces RelaunchIgnoreUnloadHandlers and uses it in > RelaunchNotificationController when the deadline for a forced relaunch > is reached. This new function is to AttemptRelaunch as > ExitIgnoreUnloadHandlers is to AttemptExit. > > This also introduces browser_shutdown::ShouldIgnoreUnloadHandlers(), > which is a convenience for code that needs to know whether or not an > in-progress shutdown should ignore unload handlers. > > BUG=958865 > > Change-Id: I91a9832d745e95b7436b176d78f5e39ed14addd2 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1914380 > Commit-Queue: Greg Thompson <grt@chromium.org> > Auto-Submit: Greg Thompson <grt@chromium.org> > Reviewed-by: Marc Treib <treib@chromium.org> > Cr-Commit-Position: refs/heads/master@{#715901} TBR=treib@chromium.org,grt@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. (cherry picked from commit b053b57) Bug: 958865,1025638,1025634 Change-Id: I0584904da38d150481e8450aacaff0f909a53d12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919356 Reviewed-by: Greg Thompson <grt@chromium.org> Commit-Queue: Greg Thompson <grt@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#716137} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1922209 Cr-Commit-Position: refs/branch-heads/3970@{#6} Cr-Branched-From: 55f4451-refs/heads/master@{#716057}
- Loading branch information
Showing
8 changed files
with
60 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters