[ScopedTaskEnvironment] Enable MTA in unit test thread pools

This is a prereq for
https://chromium-review.googlesource.com/c/chromium/src/+/1338221
without this change, the MTA assertions fail in unit tests even though
they are correct in prod.

This change matches the browser process' params @
content/browser/startup_helper.cc

It has the adverse side-effect however of enabling the MTA in renderer
unit tests but the downside there is not as bad as it just means some
COM asserts may pass in unit tests where they wouldn't in integration
tests or prod. I think that's okay because unit tests are already
generally very loose on allowing I/O, waits, etc. Misuse will still be
caught, but that's just not unit tests' main role.

R=fdoray@chromium.org

Bug: 708584, 707362
Change-Id: I68c5e41c24396885af43427d09c11e1e84ecea43
Reviewed-on: https://chromium-review.googlesource.com/c/1338305
Commit-Queue: Gabriel Charette <gab@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608772}
2 files changed