TaskScheduler: Remove SchedulerWorker::Thread.

This CL moves all functionnality from SchedulerWorker::Thread to
SchedulerWorker, and removes SchedulerWorker::Thread.

We needed SchedulerWorker::Thread when a SchedulerWorker could
re-create its native thread. Now, it's just adding complexity to
our codebase.

Change-Id: I5db4fa4fb0419b27641251cb26c9ed373bae7b74
Reviewed-on: https://chromium-review.googlesource.com/1018167
Reviewed-by: Robert Liao <robliao@chromium.org>
Commit-Queue: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#552710}

CrOS-Libchrome-Original-Commit: 6e1b000c47e97713e80e39f269cc3cdf679c564e
2 files changed
tree: 85de4b056350d1f4b5974cbe7c867ead8d2fe079
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/