-
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.
ProfileDestroyer: allow custom force-destruction timeout
This is useful for automation scenarios where slow computers may not be able to close all processes in two seconds, but will eventually succeed. Currently, we hit CHECK in ~ProfileDestroyer, most likely because we force-destroy upon timeout of ~2 seconds. This change allows automation profiles to provide a custom timeout that would be enough to destroy all render process hosts. (cherry picked from commit bcc5a28) Bug: 1349150 Change-Id: Iadbd45a6e23c90b1dae43c23b3c4de7930727c8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3821446 Commit-Queue: Dmitry Gozman <dgozman@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Reviewed-by: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Reviewed-by: Ramin Halavati <rhalavati@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1037431} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3846107 Commit-Queue: Ramin Halavati <rhalavati@chromium.org> Auto-Submit: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/branch-heads/5249@{#35} Cr-Branched-From: 4f7bea5-refs/heads/main@{#1036826}
- Loading branch information
Showing
3 changed files
with
46 additions
and
10 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