Revert "ThreadPool: Do not run BEST_EFFORT tasks during startup."
This reverts commit 2b4b4ee8. Reason for revert: CrOS OOBE/login-screen failures See crbug.com/968554 eg: https://ci.chromium.org/p/chromium/builders/ci/chromeos-kevin-rel/9026 Original change's description: > ThreadPool: Do not run BEST_EFFORT tasks during startup. > > With this CL, a task posted with: > > base::PostTaskWithTraits( > FROM_HERE, > {base::TaskPriority::BEST_EFFORT, ...}, > base::BindOnce(...)); > > Will not be allowed to run before startup is complete. > > The signal used to know that "startup is complete" is the same as > AfterStartupTaskUtils. It is not perfect. It will be improved in a > separate CL. > > This CL aims to be the smallest change possible to allow seamless > migration of BrowserThread::PostAfterStartupTask() to > base::PostTaskWithTraits(). > > Bug: 887407 > Change-Id: I83ef387b82496ece3ed10c0c2466f42a6a5b19b3 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1631668 > Commit-Queue: François Doray <fdoray@chromium.org> > Reviewed-by: Avi Drissman <avi@chromium.org> > Reviewed-by: Carlos Caballero <carlscab@google.com> > Reviewed-by: Gabriel Charette <gab@chromium.org> > Cr-Commit-Position: refs/heads/master@{#664488} TBR=avi@chromium.org,gab@chromium.org,fdoray@chromium.org,carlscab@google.com CQ_INCLUDE_TRYBOTS=luci.chromium.try:chromeos-kevin-rel No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 887407, 968554 Change-Id: I205b250267fd629b5da5db646d3b93c522642949 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637005Reviewed-by:Ben Pastene <bpastene@chromium.org> Commit-Queue: Ben Pastene <bpastene@chromium.org> Cr-Commit-Position: refs/heads/master@{#664826}
Showing
Please register or sign in to comment