Use ScopedTaskEnvironment instead of MessageLoop in content unit tests.
ScopedTaskEnvironment allows usage of ThreadTaskRunnerHandle and
base/task_scheduler/post_task.h within its scope. It should be
instantiated in every unit test that uses either of these APIs
(i.e. no test should instantiate a MessageLoop directly).
Motivation for ScopedTaskEnvironment can be found in:
TBRemail@example.com, firstname.lastname@example.org, email@example.com
24 files changed