[base] Support an additional log message in ScopedRunLoopTimeout.
Allow an optional RepeatingCallback<std::string()> to be supplied to ScopedRunLoopTimeout, to provide an additional message string in case of timeout. Update base::test::TaskEnvironment to have DescribeAllPendingTasks' output appending to the timeout message. Bug: 1021777 Change-Id: I32ff686924aea50cc56b6f103696bdbde7e8d8fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062984 Auto-Submit: Wez <wez@chromium.org> Reviewed-by:Gabriel Charette <gab@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Commit-Queue: Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#742679}
Showing
Please register or sign in to comment