Changes to support using base/feature_list.h from gin/.

Since gin/ (V8) is used from a number of different processes and
test harnesses, this required updating them to ensure they initialize
a base::FeatureList instance (which is required before querying the
API to ensure code doesn't incorrectly query the API too early).

Additionally, for test_suite.cc, the FeatureList initialization needed
to happen earlier - since some sub-classes of it initialize gin from
their Initialize() functions. The initialization was also switched to
use FeatureList::InitializeInstance() since for some test suites,
a FeatureList would already exist.

BUG=599165,563705

Review URL: https://codereview.chromium.org/1848523002

Cr-Commit-Position: refs/heads/master@{#385053}


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