Use ScopedTaskEnvironment instead of MessageLoopForUI in /chrome/updater
MessageLoopForUI will go away, eventually. ScopedTaskEnvironment will per default start a ThreadPool, which should be fine in most of the cases. If you believe 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=sorin@chromium.org Change-Id: Ibc61f14dd20f016f4c1a56b2915a609fa2d682c0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715500 Auto-Submit: Carlos Caballero <carlscab@google.com> Reviewed-by:Sorin Jianu <sorin@chromium.org> Commit-Queue: Carlos Caballero <carlscab@google.com> Cr-Commit-Position: refs/heads/master@{#680915}
Showing
Please register or sign in to comment