Wait for OnBrowserRemoved after closing window in tests
Some IndependentOTRProfileManager tests need to wait for a browser window and its associated Browser object to be destroyed. This was originally done with base::RunLoop::RunUntilIdle, but this isn't necessarily sufficient and may be a source of flakes on Mac. Bug: 835834, 837236 Change-Id: I8dfd71e45cea7df411693dbccb153f9554754809 Reviewed-on: https://chromium-review.googlesource.com/1034279Reviewed-by:Derek Cheng <imcheng@chromium.org> Commit-Queue: Brandon Tolsch <btolsch@chromium.org> Cr-Commit-Position: refs/heads/master@{#554874}
Showing
Please register or sign in to comment