1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/metrics/metrics_service_accessor.h"
7 #include "components/metrics/metrics_service.h"
12 bool MetricsServiceAccessor::RegisterSyntheticFieldTrial(
13 MetricsService
* metrics_service
,
14 uint32_t trial_name_hash
,
15 uint32_t group_name_hash
) {
19 SyntheticTrialGroup
trial_group(trial_name_hash
, group_name_hash
);
20 metrics_service
->RegisterSyntheticFieldTrial(trial_group
);
24 } // namespace metrics