Improve ThemeService unit test robustness, and clean up.

* Fixes some (but not all) "Could not delete temp dir" warnings by adding a new
  ThemeScoper object.  This is the bulk of this change.
* Fixes some tests that failed on sytems with dark mode on by default.
* Cleans up some tests by removing unnecessary bits (e.g.
  UseDefaultTheme()/RunUntilIdle() calls on test start) and refactoring (e.g.
  adding a |theme_service_| convenience member alongside the existing
  |registry_|).

Bug: none
Change-Id: Ie5c3fcccda294a863c6a598a0513f076788b314d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986284
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Reviewed-by: kylechar <kylechar@chromium.org>
Reviewed-by: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#728675}
4 files changed