Use ScopedTaskEnvironment instead of MessageLoop
MessageLoop will go away, eventually. ScopedTaskEnvironment will per default start a ThreadPool, which should be fine in most of the cases. If you belive your test needs to make sure that no ThreadPool runs let me know and I will update the patch. BUG=891670 This CL was uploaded by git cl split. R=dalecurtis@chromium.org Change-Id: Ib1c83dfc5dd51f2944a78ef4841af6d548aecfca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635816Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Commit-Queue: Carlos Caballero <carlscab@google.com> Auto-Submit: Carlos Caballero <carlscab@google.com> Cr-Commit-Position: refs/heads/master@{#665084}
Showing
Please register or sign in to comment