1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_UKM_FIELD_TRIALS_PROVIDER_HELPER_H_
6 #define COMPONENTS_UKM_FIELD_TRIALS_PROVIDER_HELPER_H_
10 #include "components/metrics/field_trials_provider.h"
12 namespace variations {
13 class SyntheticTrialRegistry;
18 // Creates a FieldTrialsProvider for use with UKMs.
19 std::unique_ptr<variations::FieldTrialsProvider>
20 CreateFieldTrialsProviderForUkm(
21 variations::SyntheticTrialRegistry* synthetic_field_trial_registry);
25 #endif // COMPONENTS_UKM_FIELD_TRIALS_PROVIDER_HELPER_H_