[Profiles] Make DestroyProfileOnBrowserClose work with Background Mode
Don't run DestroyProfileOnBrowserClose logic if Background Mode is enabled, i.e. wait for the entire browser to exit before destroying the Profile object. Bug: 88586, 566835 Change-Id: I593d5537fc494bab1cd435b65cfc57075d92cfe2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2476173Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Cr-Commit-Position: refs/heads/master@{#819437}
Showing
Please register or sign in to comment