Upload upstream chromium 114.0.5735.31
[platform/framework/web/chromium-efl.git] / components / ukm / field_trials_provider_helper.h
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.
4
5 #ifndef COMPONENTS_UKM_FIELD_TRIALS_PROVIDER_HELPER_H_
6 #define COMPONENTS_UKM_FIELD_TRIALS_PROVIDER_HELPER_H_
7
8 #include <memory>
9
10 #include "components/metrics/field_trials_provider.h"
11
12 namespace variations {
13 class SyntheticTrialRegistry;
14 }
15
16 namespace ukm {
17
18 // Creates a FieldTrialsProvider for use with UKMs.
19 std::unique_ptr<variations::FieldTrialsProvider>
20 CreateFieldTrialsProviderForUkm(
21     variations::SyntheticTrialRegistry* synthetic_field_trial_registry);
22
23 }  // namespace ukm
24
25 #endif  // COMPONENTS_UKM_FIELD_TRIALS_PROVIDER_HELPER_H_