Introduce a new FieldTrialList::IsTrialActive() API.

This removes a bunch of less-efficient helper functions
scattered throughout code (mostly unit tests, but also
some production code) that queried the same info.

Also renames some params from |name| to |trial_name|
for consistency.

BUG=526169

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

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


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