Allow overriding of the platform that experiments are filtered for

Desktop / Chromium - Kyle Milka [google.com] - 9 August 2017 22:16 EDT

This CL adds the OverrideVariationsPlatform() function to the
VariationsFieldTrialCreator class. Now platforms such as WebView can correctly filter their list of active experiments.

Bug=678288

Change-Id: I91f89457475775d1ddece81ecc3519b8461d0e8c Reviewed-on: https://chromium-review.googlesource.com/607040 Commit-Queue: Kyle Milka

b819b69 Allow overriding of the platform that experiments are filtered for
.../variations/service/variations_field_trial_creator.cc | 14 ++++++++++++--
.../variations/service/variations_field_trial_creator.h | 12 ++++++++++++
2 files changed, 24 insertions(+), 2 deletions(-)

Upstream: git.chromium.org


  • Share