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. DO NOT SUBMMIT BUG=891670 This CL was uploaded by git cl split. R=rmcelrath@chromium.org Change-Id: Iccef22a70c2f7465a6a3da5bb717c18922d8065a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1635517 Auto-Submit: Carlos Caballero <carlscab@google.com> Reviewed-by:Robbie McElrath <rmcelrath@chromium.org> Commit-Queue: Robbie McElrath <rmcelrath@chromium.org> Cr-Commit-Position: refs/heads/master@{#664700}
Showing
Please register or sign in to comment